ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.72k stars 5.28k forks source link

Support stereo audio for WebRTC audio mixing. #3994

Closed chinajuak closed 3 months ago

chinajuak commented 3 months ago

Our software, when pushing an RTMP stream, has two distinct audio tracks for the left and right channels. However, after processing through SRS, when played back via WebRTC, the audio from the left and right channels is mixed together.

Our requirement is that the audio tracks for the left and right channels should not be mixed together.

TRANS_BY_GPT4

winlinvip commented 3 months ago

Interesting. I think it should be caused by the audio transcoder model of WebRTC, which need to be refined for stereo audio. Patch welcome.

chinajuak commented 3 months ago

Yes, two distinct audio tracks to facilitate the separate extraction of each voice in post-production.

TRANS_BY_GPT4