talk-android/app/src/main/java/com/nextcloud/talk
Daniel Calviño Sánchez f112e26d25
Fix SDP constraints used by PeerConnectionWrapper
The SDP constraints for publisher connections when the MCU is used were
set for all connections. Those constraints set "OfferToReceiveAudio" and
"OfferToReceiveVideo" to false, which disables receiving audio and video
when the local participant is the one sending the offer. Therefore,
audio and video was not received when the MCU was not used and the local
participant was the one initiating the connection.

The "OfferToReceiveXXX" configurations have no effect when set on an
answer (and thus are not even set, an empty MediaConstraints is used in
that case). However, when "OfferToReceiveVideo = false" is set the video
transceiver is explicitly stopped (which is used to avoid receiving
video when joining a call with audio only). Therefore, as
"OfferToReceiveVideo = false" was always set, video was never received
in subscriber connections when the MCU is used, or connections initiated
by the other peer when the MCU is not used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 13:26:43 +01:00
..
account style(detekt): shorten long methods 2024-12-10 09:00:47 +01:00
activities Fix SDP constraints used by PeerConnectionWrapper 2025-01-03 13:26:43 +01:00
adapters resolve detekt warnings 2024-12-20 15:44:24 +01:00
api format code 2024-12-20 10:59:52 +01:00
application Offline support for conversations and chats 2024-08-12 16:47:03 +02:00
arbitrarystorage Add SPDX header 2024-03-29 15:42:11 +01:00
bottomsheet/items Add SPDX header 2024-03-24 20:08:43 +01:00
call fix(spotbugs): Improve spotbugs scoring 2024-11-07 15:42:58 +01:00
callbacks rename classes called 'Magic*' 2024-04-23 15:26:00 +02:00
callnotification bump minSdkVersion to 26 and remove old checks 2024-11-21 11:34:23 +01:00
chat fix(ktlint): correct code formatting 2024-12-21 16:50:40 +01:00
components/filebrowser Add SPDX header 2024-03-29 12:55:12 +01:00
contacts style(detekt): Accept current use of TooGenericExceptionCaught cases 2024-12-06 11:11:24 +01:00
conversation convert rxjava to coroutines - set conversation read only 2024-11-19 10:56:32 +01:00
conversationcreation style(detekt): Accept current use of TooGenericExceptionCaught cases 2024-12-06 11:11:24 +01:00
conversationinfo fix(lint): Move suppressions due to refactoring 2024-12-13 15:35:18 +01:00
conversationinfoedit style(detekt): Shorten methods 2024-12-13 15:35:17 +01:00
conversationlist style(detekt): Shorten methods 2024-12-13 15:35:17 +01:00
dagger/modules format code 2024-12-20 10:59:52 +01:00
data style(detekt): shorten long methods 2024-12-10 09:00:47 +01:00
diagnose style(detekt): Move magic number to constant 2024-12-13 15:35:17 +01:00
events rename classes called 'Magic*' 2024-04-23 15:26:00 +02:00
extensions fix to handle whitespaces for guest avatars 2024-11-28 14:31:39 +01:00
fullscreenfile Add SPDX header 2024-03-29 15:42:11 +01:00
interfaces Add SPDX header 2024-03-29 12:55:12 +01:00
invitation open links for files app from any screen. 2024-05-24 15:38:53 +02:00
jobs style(detekt): Shorten methods 2024-12-13 15:35:17 +01:00
location style(detekt): shorten long methods 2024-12-10 09:00:47 +01:00
lock hide logos for conversation list and lockscreen if app is not nextcloud 2024-05-24 13:23:03 +02:00
messagesearch open links for files app from any screen. 2024-05-24 15:38:53 +02:00
models format code 2024-12-20 10:59:52 +01:00
openconversations use TextInputLayout 2024-12-11 13:44:57 +01:00
polls fix: remove use of LayoutInflater.from(Context) 2024-06-19 17:15:21 +02:00
presenters fix(spotbugs): Improve spotbugs scoring 2024-11-07 15:42:58 +01:00
profile use new result api 2024-04-01 04:40:05 +05:30
raisehand Add SPDX header 2024-03-29 15:42:11 +01:00
receivers Add SPDX header 2024-03-29 15:42:11 +01:00
remotefilebrowser Add SPDX header 2024-03-29 15:42:11 +01:00
repositories add setConversationReadOnly 2024-11-21 11:18:36 +01:00
settings style(detekt): shorten long methods 2024-12-10 09:00:47 +01:00
shareditems Offline support for conversations and chats 2024-08-12 16:47:03 +02:00
signaling Add explicit documentation about the different casing 2024-10-23 13:02:27 +02:00
translate Add SPDX header 2024-03-29 15:42:11 +01:00
ui spacing 2024-12-19 14:18:21 +01:00
upload bump minSdkVersion to 26 and remove old checks 2024-11-21 11:34:23 +01:00
users Add SPDX header 2024-03-23 17:18:18 +01:00
utils format code and remove unused colors 2024-12-20 10:59:53 +01:00
viewmodels Add SPDX header 2024-03-23 17:18:18 +01:00
webrtc Fix "send" not respecting order of pending messages 2025-01-03 10:52:43 +01:00