mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-24 18:22:20 +08:00
完善获取丢包率pull request; 新增MediaSource::getOwnerPoller接口
This commit is contained in:
@@ -150,4 +150,8 @@ void WebRtcPusher::onRtcConfigure(RtcConfigure &configure) const {
|
||||
|
||||
int WebRtcPusher::getLossRate(MediaSource &sender,mediakit::TrackType type){
|
||||
return WebRtcTransportImp::getLossRate(type);
|
||||
}
|
||||
}
|
||||
|
||||
toolkit::EventPoller::Ptr WebRtcPusher::getOwnerPoller(mediakit::MediaSource &sender) {
|
||||
return getPoller();
|
||||
}
|
||||
Reference in New Issue
Block a user