Skip to content
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

libmediasoupclient don't support opus stereo #161

Open
buptlsp opened this issue Jun 20, 2023 · 2 comments
Open

libmediasoupclient don't support opus stereo #161

buptlsp opened this issue Jun 20, 2023 · 2 comments

Comments

@buptlsp
Copy link

buptlsp commented Jun 20, 2023

I use ffmpeg to push the stream and I set sprop-stereo=1. If I use mediasoup-client(js code), I can hear stereo sound. but If I use libmediasoupclient, I only hear mono sound.
image
I refer to the code, the problem is in src/sdp/Utils.cpp :
image

sprop-stereo = 1, it's not a boolean value, but a number. so the answer sdp is not as expected.

@jmillan
Copy link
Member

jmillan commented Jun 20, 2023

Mind you create a PR @buptlsp?

@buptlsp
Copy link
Author

buptlsp commented Jun 25, 2023

I'm busy recently. so , it may take some time for me to create pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants