Closed boks1971 closed 2 years ago
@boks1971 Are you changing this after the initial handshake? When you say audio from client stops
were you publishing audio successfully?
Does this happen Chrome <-> Chrome
? Try manually changing the setup:
value before calling SetLocalDescription for the answering PeerConnection. I can help pull a jsfiddle together also if you don't have the time.
Would be great to compare behavior and maybe report upstream!
@Sean-Der . No, not changing it after initial handshake. I had it at Pion default which is DTLSRoleClient
for answerer.
Yes, the audio was being published normally for 15 seconds and then it stops.
I have not tried Chrome <-> Chrome. I do not have a good set up for that.
Will try to spend more time on this later this week.
Your environment.
webrtc.DTLSRoleClient
(which is the default). When setting answering DTLSRole towebrtc.DTLSRoleServer
via settings engine does not show the problem.What did you do?
What did you expect?
Stable streaming under long latency.
What happened?
After 15 seconds, Chrome gets an SSL_Read error and the peer connection state moves to
failed
.Starting Chrome in debug logging mode, can see the following
When this happens, audio from client stops. But, the STUN pings continue to happen and Pion is replying to those binding requests. ICEConnectionState on Chrome side does not go to
failed
.