nextcloud-talk-android/app
Daniel Calviño Sánchez 1b5be43cea Handle offers to renegotiate an already established connection
Once a RTCPeerConnection is established new offers can still be received
for that connection. These offers will update/renegotiate the connection
(for example, to add a video track to an audio only connection) and need
to be handled like the offers to establish the original connection (the
offer needs to be set as the remote description and a local answer needs
to be created for it, set as the local description and sent to the other
peer).

In the PeerConnectionWrapper the same SdpObserver object is called when
setting both local and remote descriptions, so the answer should be
created only when a remote description was set. Before the answer was
created if there was no local description already, so this only worked
when establishing the initial connection. Once the connection is
established new answers need to replace the current local description,
so now the creation of new answers is based on the signaling state
instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-01-16 11:32:24 +01:00
..
schemas/com.nextcloud.talk.data.source.local.TalkDatabase Room db schema v8 2022-07-01 08:59:12 +02:00
src Handle offers to renegotiate an already established connection 2023-01-16 11:32:24 +01:00
build.gradle Merge pull request #2692 from nextcloud/dependabot/gradle/org.mockito-mockito-core-5.0.0 2023-01-16 09:21:48 +01:00
lint.xml Get rid of BaseController, ButterknifeController, and ButterKnife 2022-08-18 17:19:08 +02:00
proguard-rules.pro Initial import 2017-10-23 12:40:38 +02:00