File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
restcomm.android.sdk/src/main/java/org/restcomm/android/sdk/MediaClient Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -627,7 +627,11 @@ private void createPeerConnectionInternal(EglBase.Context renderEGLContext)
627627 // TCP candidates are only useful when connecting to a server that supports
628628 // ICE-TCP.
629629 rtcConfig .tcpCandidatePolicy = PeerConnection .TcpCandidatePolicy .DISABLED ;
630- rtcConfig .bundlePolicy = PeerConnection .BundlePolicy .MAXBUNDLE ;
630+ // Commenting out MAXBUNDLE because when used and receiving a call from MS that doesn't include BUNDLE
631+ // the remove SDP fails to be set here and call fails. Check https://bugs.chromium.org/p/webrtc/issues/detail?id=5573
632+ // Seems MAXCOMPAT fixes the issue
633+ //rtcConfig.bundlePolicy = PeerConnection.BundlePolicy.MAXBUNDLE;
634+ rtcConfig .bundlePolicy = PeerConnection .BundlePolicy .MAXCOMPAT ;
631635 rtcConfig .rtcpMuxPolicy = PeerConnection .RtcpMuxPolicy .REQUIRE ;
632636 // TODO: Let's disable continual gathering so that we still get notified when gathering completes. Remember that with GATHER_CONTINUALLY
633637 // no notification occurs and the SDK keeps waiting forever. When we transition to using trickle ice, we should be able to uncomment this
You can’t perform that action at this time.
0 commit comments