You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to send the Android SessionDescription object to a web client RTCSessionDescription I get an error
Error setting remote description DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. Expect line: v=
I also got an error saying that the type enum was incorrect and ANSWER didnt exist, I had to toLowerCase on the type in the web client for that error to go away
When sending the SessionDescription from android I convert it to json with gson like I have seen in a lot of examples
....
json.put("sdp", gson.toJson(desc))
....
Then on the web side I just put that value into the description
Opening this back up because I dont know if this is a "bug" or not based on the documentation for RTCSessionDescription that using this method is deprecated because setLocalDescription and setRemoteDescription accept sdp that conform to RTCSessionDescriptionInit.
So does that mean the SessionDescription in this library is out of date? Feel free to close again if this isnt a bug and is correct
Hi @tyczj, the new release, version 1.3.0, is now available and includes the m125 patches. Could you check if this issue still occurs with the updated release?
When trying to send the Android SessionDescription object to a web client RTCSessionDescription I get an error
I also got an error saying that the type enum was incorrect and ANSWER didnt exist, I had to
toLowerCase
on the type in the web client for that error to go awayWhen sending the SessionDescription from android I convert it to json with gson like I have seen in a lot of examples
Then on the web side I just put that value into the description
peerConnection.setRemoteDescription(new RTCSessionDescription(sdp))
This is what the description data looks like
These two types dont seem compatible, what are you suppose to do?
The text was updated successfully, but these errors were encountered: