E
E
eewynell2021-02-13 19:21:41
JavaScript
eewynell, 2021-02-13 19:21:41

What could be the reason for the lack of audio transmitted via WebRTC?

Hello
I have a problem with WebRTC
Peers connect, exchange Offers, Answers and Candidates.
The 'track' event is fired, the MediaStream and MediaStreamTrack arrive respectively, but nothing happens when I try to play them...
What could be wrong here?
I'm trying to play them through new Audio().srcObject. Just in case, I checked that Streams received via getUserMedia({ audio: true }) are played in this way, so the problem is not in the playback method...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question