完善getOwnerPoller相关逻辑

This commit is contained in:
xiongziliang
2022-06-11 13:08:58 +08:00
parent b6d3ec5251
commit 97116e1208
8 changed files with 21 additions and 3 deletions

View File

@@ -1153,6 +1153,10 @@ std::shared_ptr<SockInfo> RtspSession::getOriginSock(MediaSource &sender) const
return const_cast<RtspSession *>(this)->shared_from_this();
}
toolkit::EventPoller::Ptr RtspSession::getOwnerPoller(MediaSource &sender) {
return getPoller();
}
void RtspSession::onBeforeRtpSorted(const RtpPacket::Ptr &rtp, int track_index){
updateRtcpContext(rtp);
}