mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 08:57:32 +08:00
优化rtp性能
This commit is contained in:
@@ -913,8 +913,8 @@ void RtspSession::send_NotAcceptable() {
|
||||
sendRtspResponse("406 Not Acceptable",{"Connection","Close"});
|
||||
}
|
||||
|
||||
void RtspSession::onRtpSorted(const RtpPacket::Ptr &rtp, int track_idx) {
|
||||
_push_src->onWrite(rtp, false);
|
||||
void RtspSession::onRtpSorted(RtpPacket::Ptr rtp, int track_idx) {
|
||||
_push_src->onWrite(std::move(rtp), false);
|
||||
}
|
||||
|
||||
void RtspSession::onRcvPeerUdpData(int interleaved, const Buffer::Ptr &buf, const struct sockaddr &addr) {
|
||||
|
||||
Reference in New Issue
Block a user