mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 17:27:33 +08:00
webrtc sdp msid不存在时,不添加
This commit is contained in:
@@ -40,7 +40,9 @@ void WebRtcEchoTest::onCheckSdp(SdpType type, RtcSession &sdp) {
|
||||
if (type == SdpType::answer) {
|
||||
for (auto &m : sdp.media) {
|
||||
for (auto &ssrc : m.rtp_rtx_ssrc) {
|
||||
ssrc.msid = "zlmediakit msid";
|
||||
if (!ssrc.msid.empty()) {
|
||||
ssrc.msid = "zlmediakit msid";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user