move call setLocalDescription position #858
liaoxingang
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
why
when I have to change local SDP,such as change "setup:active" to "setup:passive" in SDP callback. it's not working.
reason
when I change the SDP in SDP callback. send to server's SDP was changed but RTCConnection's SDP was not changed. because setLocalDescription before the callback function.
suggestion
move setLocalDescription after the SDP callback function
Beta Was this translation helpful? Give feedback.
All reactions