-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome to pion audio (opus) streaming not working #784
Comments
@Sean-Der Now the log looks more like it.. (made a progress).
|
Never mind. (sender was in weired state) Now it is working!! @Sean-Der |
@enobufs what is the root cause? I am having the same issue: "ICE connection state changes to "Connected", but OnTrack() won't get called." I added the following and it still doesn't work: if _, err = peerConnection.AddTransceiverFromKind(webrtc.RTPCodecTypeAudio); err != nil {
panic(err)
} |
The root cause was the fix mentioned above. My tool seems to work. It transfers opus stream from browser to browser or to pion. I wonder if this works for you... (the tool does not do pion to browser tho). |
Your environment.
What did you do?
Updated pion to v2.1.x (it used to work with the old pion ~v1)
See my webrtc-audio-streaming (branch: update-pion-to-v2.1)
What did you expect?
oto
library.What happened?
ICE connection state changes to "Connected", but OnTrack() won't get called.
More than likely I am doing something wrong, but if anyone could give me some insight, that would be appreciated.
Here's some console logs:
The text was updated successfully, but these errors were encountered: