update webrtc/WebRtcPusher.cpp.

This commit is contained in:
Leon 2022-06-08 09:07:46 +00:00 committed by Gitee
parent 24b532c2ca
commit 8bb41ebcb8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,4 +1,4 @@
/*
/*
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
*
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
@ -147,3 +147,7 @@ void WebRtcPusher::onRtcConfigure(RtcConfigure &configure) const {
//这只是推流
configure.audio.direction = configure.video.direction = RtpDirection::recvonly;
}
int WebRtcPusher::getLossRate(MediaSource &sender,mediakit::TrackType type){
return WebRtcTransportImp::getLossRate(type);
}