1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix #3179: WebRTC: Make sure the same m-lines order for offer and answer. v4.0.265

This commit is contained in:
winlin 2022-09-16 07:59:06 +08:00
parent aea2bfbaf9
commit 686f57799e
7 changed files with 97 additions and 7 deletions

View file

@ -90,6 +90,10 @@ public:
bool publish_;
bool dtls_;
bool srtp_;
// The order of audio and video, or whether audio is before video. Please make sure the order is match for offer and
// answer, or client might fail at setRemoveDescription(answer). See https://github.com/ossrs/srs/issues/3179
bool audio_before_video_;
public:
SrsRtcUserConfig();
virtual ~SrsRtcUserConfig();