versatica / libmediasoupclient

mediasoup client side C++ library
https://mediasoup.org
ISC License
291 stars 178 forks source link

libmediasoupclient don't support opus stereo #161

Open buptlsp opened 1 year ago

buptlsp commented 1 year ago

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 commented 1 year ago

Mind you create a PR @buptlsp?

buptlsp commented 1 year ago

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