mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复firefox上webrtc echo测试无法通过的问题: #1493
This commit is contained in:
parent
822a401f30
commit
b0af3334c1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user