From b0af3334c1bfb777c05741f490441b5b9027eace Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sat, 26 Mar 2022 22:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfirefox=E4=B8=8Awebrtc=20echo?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=97=A0=E6=B3=95=E9=80=9A=E8=BF=87=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98:=20#1493?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webrtc/WebRtcEchoTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webrtc/WebRtcEchoTest.cpp b/webrtc/WebRtcEchoTest.cpp index 879c6ce7..1566ce53 100644 --- a/webrtc/WebRtcEchoTest.cpp +++ b/webrtc/WebRtcEchoTest.cpp @@ -24,6 +24,8 @@ WebRtcEchoTest::WebRtcEchoTest(const EventPoller::Ptr &poller) : WebRtcTransport void WebRtcEchoTest::onRtcConfigure(RtcConfigure &configure) const { WebRtcTransportImp::onRtcConfigure(configure); configure.audio.direction = configure.video.direction = RtpDirection::sendrecv; + configure.audio.extmap.emplace(RtpExtType::sdes_mid, RtpDirection::sendrecv); + configure.video.extmap.emplace(RtpExtType::sdes_mid, RtpDirection::sendrecv); } void WebRtcEchoTest::onRtp(const char *buf, size_t len, uint64_t stamp_ms) {