--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/dc96fe63-097f-4035-a686-de44affab6ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can you attach the offer/answer SDP?
On Wed, Jul 5, 2017 at 10:36 AM, Son Le <sonl...@gmail.com> wrote:
I'm using webRTC to build a system which supports audio calls. Here's how it works:- User A `createOffer`, then `setLocalDescription` with the `offer`- User B `receiveOffer`, then `setRemoteDescription` with the `offer`- User B `createAnswer`, then `setLocalDescription` with the `answer`- User A `receiveAnswer`, then `setRemoteDescription` with the `answer`The problem is that, after A received answer from B, when A does `setRemoteDescription(answer)`, this error appears:**Uncaught (in promise) DOMException: Failed to set remote answer sdp: Failed to push down transport description: Failed to set SSL role for the channel.**I have no clue why this error appears. I tried googling it but no luck so far. Any help would be appreciated !
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/088a90b8-1452-4e86-9a2b-1d3a8b9485d6%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/dab915ff-b81b-4bc2-9170-f6a5b24b5c5e%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/61d8e946-b5e6-4f06-91df-9e1f1841349d%40googlegroups.com.
Hi Taylor ! Yes at the moment in my app, it ensures the offer/answer direction remains consistent (only the "talker" can create offers to the "listener").
Did you mean is that in step 4, we should modify the DTLS role from 'active' to 'actpass' ? I'm not sure how we can modify the DTLS role using javascript ?
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/061706a3-bddf-4941-bb2e-c31db7d63230%40googlegroups.com.
when B makes an a re-offer, can / it do the offer as a=active because it is already assigned this role?
Certainly, if the remote end is same, it will still select the same role but the problem starts when the remote party is a different endpoint like a media server (playing announcement) or the re-offer results with a transfer to a new endpoint.
2. It is told that a change of fingerprint may allow role change. How does it work? Suppose A makes an offer and B answers with an unexpected role which will result with WebRTC engine giving error during setRemoteDescription. What is A assumed to do here before calling setRemoteDescription?
3. if A simply alters the role coming from remote end before calling setRemoteDescription, it will not get an error but the role of B is known to be different at each endpoint with that change, B thinks it is passive where A thinks it is active. How can this work?
4. Would opening a new peer connection and doing renegotiation be a valid option?
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/818b7b36-89e7-46cb-ac97-7e2751625885%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.