//接收rtp媒体数据包超时strongSelf->onPlayResult_l(SockException(Err_timeout,"receive rtp timeout"), true); return false; } return true; },getPoller())); }if (_pPlayTimer) { if (!handshakeCompleted) { //开始播放阶段 _pPlayTimer.reset(); ...
shutdown(SockException(Err_timeout, "receive rtp timeout")); } if (!_process && _ticker.createdTime() > 10 * 1000) { shutdown(SockException(Err_timeout, "illegal connection")); } } void RtpSession::setRtpProcess(RtpProcess::Ptr process) { _emit_detach = true; _process = std::...
url._passwd : "null") << " " << _rtp_type; weak_ptr<RtspPlayer> weakSelf = dynamic_pointer_cast<RtspPlayer>(shared_from_this()); float playTimeOutSec = (*this)[kTimeoutMS].as<int>() / 1000.0f; _play_check_timer.reset(new Timer(playTimeOutSec, [weakSelf]() { ...
udp_rtcp_timeout) { createRtcpSocket(); } // 连接建立成功事件 [AUTO-TRANSLATED:ac279c86] // Connection established successfully event weak_ptr<RtpSender> weak_self = shared_from_this(); if (!_args.recv_stream_id.empty()) { mINI ini; ini[RtpSession::kStreamID] = _args.recv_stream...
weak_ptr<RtpSender> weak_self = shared_from_this(); _socket_rtcp->setOnRead([weak_self](const Buffer::Ptr &buf, struct sockaddr *, int) { //接收receive report rtcp auto strong_self = weak_self.lock(); if (!strong_self) { return; } auto rtcp_arr = RtcpHeader::loadFromBytes(buf...
Discussions Collaborate outside of code Code Search Find more, search less Explore All features Documentation GitHub Skills Blog Solutions By company size Enterprises Small and medium teams Startups Nonprofits By use case DevSecOps DevOps CI/CD View all use cases By industry ...
Discussions Collaborate outside of code Code Search Find more, search less Explore All features Documentation GitHub Skills Blog Solutions By company size Enterprises Small and medium teams Startups Nonprofits By use case DevSecOps DevOps CI/CD View all use cases By industry ...
Discussions Collaborate outside of code Code Search Find more, search less Explore All features Documentation GitHub Skills Blog Solutions By company size Enterprises Small and medium teams Startups Nonprofits By use case DevSecOps DevOps CI/CD View all use cases By industr...
ifrUsage.recv_bytes = valMap["Receive-bytes"]; ifrUsage.recv_packets = valMap["Receive-packets"]; ifrUsage.snd_bytes = valMap["Transmit-bytes"]; ifrUsage.snd_packets = valMap["Transmit-packets"]; } break; } } return true; #else WarnL << "System not supported"; return false; #...
a=extmap:2http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=sendrecv a=msid:- d2eefd86-17e3-43f0-a1b7-3f974bb40230 ...