完善获取丢包率pull request; 新增MediaSource::getOwnerPoller接口

This commit is contained in:
xiongziliang
2022-06-11 12:56:03 +08:00
parent be995f9cd2
commit b6d3ec5251
5 changed files with 50 additions and 20 deletions

View File

@@ -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();
}