mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 21:15:30 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ public class PeerConnectionWrapper {
|
|||
|
||||
|
||||
EventBus.getDefault().post(new SessionDescriptionSendEvent(sessionDescriptionWithPreferredCodec, sessionId,
|
||||
sessionDescription.type.canonicalForm().toLowerCase(), null, videoStreamType));
|
||||
sessionDescription.type.canonicalForm(), null, videoStreamType));
|
||||
|
||||
if (peerConnection != null) {
|
||||
peerConnection.setLocalDescription(magicSdpObserver, sessionDescriptionWithPreferredCodec);
|
||||
|
|
Loading…
Reference in a new issue