mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 12:39:58 +01:00
Do not apply "toLowerCase()" on already lower case canonical form
The canonical form is already in lower case (see https://webrtc.googlesource.com/src/+/79d8df02/sdk/android/api/org/webrtc/SessionDescription.java#29), so there is no need to apply "toLowerCase()". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
473b8b238d
commit
58e371c98c
@ -494,7 +494,7 @@ public class PeerConnectionWrapper {
|
|||||||
|
|
||||||
|
|
||||||
EventBus.getDefault().post(new SessionDescriptionSendEvent(sessionDescriptionWithPreferredCodec, sessionId,
|
EventBus.getDefault().post(new SessionDescriptionSendEvent(sessionDescriptionWithPreferredCodec, sessionId,
|
||||||
sessionDescription.type.canonicalForm().toLowerCase(), null, videoStreamType));
|
sessionDescription.type.canonicalForm(), null, videoStreamType));
|
||||||
|
|
||||||
if (peerConnection != null) {
|
if (peerConnection != null) {
|
||||||
peerConnection.setLocalDescription(magicSdpObserver, sessionDescriptionWithPreferredCodec);
|
peerConnection.setLocalDescription(magicSdpObserver, sessionDescriptionWithPreferredCodec);
|
||||||
|
Loading…
Reference in New Issue
Block a user