Home
last modified time | relevance | path

Searched refs:rtcp (Results 1 – 25 of 118) sorted by relevance

12345

/external/webrtc/webrtc/system_wrappers/source/
Drtp_to_ntp_unittest.cc37 RtcpList rtcp; in TEST() local
43 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
46 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
52 EXPECT_FALSE(RtpToNtpMs(timestamp, rtcp, &timestamp_in_ms)); in TEST()
56 RtcpList rtcp; in TEST() local
62 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
65 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
67 EXPECT_TRUE(RtpToNtpMs(rtcp.back().rtp_timestamp, rtcp, &timestamp_in_ms)); in TEST()
76 RtcpList rtcp; in TEST() local
80 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
[all …]
Drtp_to_ntp.cc96 const RtcpList& rtcp, in RtpToNtpMs() argument
98 assert(rtcp.size() == 2); in RtpToNtpMs()
99 int64_t rtcp_ntp_ms_new = Clock::NtpToMs(rtcp.front().ntp_secs, in RtpToNtpMs()
100 rtcp.front().ntp_frac); in RtpToNtpMs()
101 int64_t rtcp_ntp_ms_old = Clock::NtpToMs(rtcp.back().ntp_secs, in RtpToNtpMs()
102 rtcp.back().ntp_frac); in RtpToNtpMs()
103 int64_t rtcp_timestamp_new = rtcp.front().rtp_timestamp; in RtpToNtpMs()
104 int64_t rtcp_timestamp_old = rtcp.back().rtp_timestamp; in RtpToNtpMs()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver_unittest.cc156 rtcp::SenderReport sr; in TEST_F()
158 rtc::scoped_ptr<rtcp::RawPacket> packet(sr.Build()); in TEST_F()
170 rtcp::SenderReport sr; in TEST_F()
172 rtc::scoped_ptr<rtcp::RawPacket> packet(sr.Build()); in TEST_F()
180 rtcp::ReceiverReport rr; in TEST_F()
182 rtc::scoped_ptr<rtcp::RawPacket> packet(rr.Build()); in TEST_F()
196 rtcp::ReportBlock rb; in TEST_F()
198 rtcp::ReceiverReport rr; in TEST_F()
201 rtc::scoped_ptr<rtcp::RawPacket> packet(rr.Build()); in TEST_F()
219 rtcp::ReportBlock rb; in TEST_F()
[all …]
Drtcp_sender.cc83 class PacketContainer : public rtcp::CompoundPacket,
84 public rtcp::RtcpPacket::PacketReadyCallback {
99 rtcp::CompoundPacket::Build(this); in SendPackets()
460 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildSR(const RtcpContext& ctx) { in BuildSR()
479 rtcp::SenderReport* report = new rtcp::SenderReport(); in BuildSR()
492 return rtc::scoped_ptr<rtcp::SenderReport>(report); in BuildSR()
495 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildSDES( in BuildSDES()
500 rtcp::Sdes* sdes = new rtcp::Sdes(); in BuildSDES()
506 return rtc::scoped_ptr<rtcp::Sdes>(sdes); in BuildSDES()
509 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildRR(const RtcpContext& ctx) { in BuildRR()
[all …]
Drtcp_sender.h151 bool SendFeedbackPacket(const rtcp::TransportFeedback& packet);
166 rtc::scoped_ptr<rtcp::RtcpPacket> BuildSR(const RtcpContext& context)
168 rtc::scoped_ptr<rtcp::RtcpPacket> BuildRR(const RtcpContext& context)
170 rtc::scoped_ptr<rtcp::RtcpPacket> BuildSDES(const RtcpContext& context)
172 rtc::scoped_ptr<rtcp::RtcpPacket> BuildPLI(const RtcpContext& context)
174 rtc::scoped_ptr<rtcp::RtcpPacket> BuildREMB(const RtcpContext& context)
176 rtc::scoped_ptr<rtcp::RtcpPacket> BuildTMMBR(const RtcpContext& context)
178 rtc::scoped_ptr<rtcp::RtcpPacket> BuildTMMBN(const RtcpContext& context)
180 rtc::scoped_ptr<rtcp::RtcpPacket> BuildAPP(const RtcpContext& context)
182 rtc::scoped_ptr<rtcp::RtcpPacket> BuildVoIPMetric(const RtcpContext& context)
[all …]
Drtcp_packet_unittest.cc24 using webrtc::rtcp::App;
25 using webrtc::rtcp::Bye;
26 using webrtc::rtcp::Dlrr;
27 using webrtc::rtcp::Fir;
28 using webrtc::rtcp::RawPacket;
29 using webrtc::rtcp::ReceiverReport;
30 using webrtc::rtcp::Remb;
31 using webrtc::rtcp::ReportBlock;
32 using webrtc::rtcp::Rpsi;
33 using webrtc::rtcp::Rrtr;
[all …]
/external/libvncserver/libvncserver/tightvnc-filetransfer/
Dfiletransfermsg.c447 GetFileDownloadResponseMsgInBlocks(rfbClientPtr cl, rfbTightClientPtr rtcp) in GetFileDownloadResponseMsgInBlocks() argument
452 char* path = rtcp->rcft.rcfd.fName; in GetFileDownloadResponseMsgInBlocks()
456 if((rtcp->rcft.rcfd.downloadInProgress == FALSE) && (rtcp->rcft.rcfd.downloadFD == -1)) { in GetFileDownloadResponseMsgInBlocks()
457 if((rtcp->rcft.rcfd.downloadFD = open(path, O_RDONLY)) == -1) { in GetFileDownloadResponseMsgInBlocks()
462 rtcp->rcft.rcfd.downloadInProgress = TRUE; in GetFileDownloadResponseMsgInBlocks()
464 if((rtcp->rcft.rcfd.downloadInProgress == TRUE) && (rtcp->rcft.rcfd.downloadFD != -1)) { in GetFileDownloadResponseMsgInBlocks()
465 if( (numOfBytesRead = read(rtcp->rcft.rcfd.downloadFD, pBuf, SZ_RFBBLOCKSIZE)) <= 0) { in GetFileDownloadResponseMsgInBlocks()
466 close(rtcp->rcft.rcfd.downloadFD); in GetFileDownloadResponseMsgInBlocks()
467 rtcp->rcft.rcfd.downloadFD = -1; in GetFileDownloadResponseMsgInBlocks()
468 rtcp->rcft.rcfd.downloadInProgress = FALSE; in GetFileDownloadResponseMsgInBlocks()
[all …]
Dhandlefiletransferrequest.c343 HandleFileDownloadRequest(rfbClientPtr cl, rfbTightClientPtr rtcp) in HandleFileDownloadRequest() argument
382 if((n = rfbReadExact(cl, rtcp->rcft.rcfd.fName, msg.fdr.fNameSize)) <= 0) { in HandleFileDownloadRequest()
391 rtcp->rcft.rcfd.fName[msg.fdr.fNameSize] = '\0'; in HandleFileDownloadRequest()
393 if(ConvertPath(rtcp->rcft.rcfd.fName) == NULL) { in HandleFileDownloadRequest()
407 HandleFileDownload(cl, rtcp); in HandleFileDownloadRequest()
474 rfbTightClientPtr rtcp = rfbGetTightClientData(cl); in RunFileDownloadThread() local
477 if(rtcp == NULL) in RunFileDownloadThread()
483 fileDownloadMsg = GetFileDownloadResponseMsgInBlocks(cl, rtcp); in RunFileDownloadThread()
493 CloseUndoneFileTransfer(cl, rtcp); in RunFileDownloadThread()
501 } while(rtcp->rcft.rcfd.downloadInProgress == TRUE); in RunFileDownloadThread()
[all …]
Drfbtightserver.c43 rfbTightClientPtr rtcp = (rfbTightClientPtr) in rfbGetTightClientData() local
46 if(rtcp == NULL) { in rfbGetTightClientData()
51 return rtcp; in rfbGetTightClientData()
110 rfbTightClientPtr rtcp = rfbGetTightClientData(cl); in rfbProcessClientAuthType() local
114 if(rtcp == NULL) in rfbProcessClientAuthType()
130 for (i = 0; i < rtcp->nAuthCaps; i++) { in rfbProcessClientAuthType()
131 if (auth_type == rtcp->authCaps[i]) in rfbProcessClientAuthType()
134 if (i >= rtcp->nAuthCaps) { in rfbProcessClientAuthType()
186 rfbTightClientPtr rtcp = rfbGetTightClientData(cl); in rfbSendAuthCaps() local
190 if(rtcp == NULL) in rfbSendAuthCaps()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_estimator_proxy_unittest.cc27 MOCK_METHOD1(SendFeedback, bool(rtcp::TransportFeedback* packet));
58 (rtcp::TransportFeedback::kDeltaScaleFactor * 0xFF) / 1000;
66 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
71 std::vector<rtcp::TransportFeedback::StatusSymbol> status_vec = in TEST_F()
74 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedSmallDelta, in TEST_F()
92 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
97 std::vector<rtcp::TransportFeedback::StatusSymbol> status_vec = in TEST_F()
100 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedSmallDelta, in TEST_F()
102 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedSmallDelta, in TEST_F()
104 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedLargeDelta, in TEST_F()
[all …]
Dtransport_feedback_adapter_unittest.cc132 rtcp::TransportFeedback feedback; in TEST_F()
168 rtcp::TransportFeedback feedback; in TEST_F()
195 int64_t kHighArrivalTimeMs = rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
207 rtc::scoped_ptr<rtcp::TransportFeedback> feedback( in TEST_F()
208 new rtcp::TransportFeedback()); in TEST_F()
215 rtc::scoped_ptr<rtcp::RawPacket> raw_packet = feedback->Build(); in TEST_F()
216 feedback = rtcp::TransportFeedback::ParseFrom(raw_packet->Buffer(), in TEST_F()
235 rtcp::TransportFeedback::kDeltaScaleFactor * ((1 << 8) - 1); in TEST_F()
237 rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
240 rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
[all …]
Dtransport_feedback_adapter.cc26 rtcp::TransportFeedback::kDeltaScaleFactor * (1 << 8);
67 const rtcp::TransportFeedback& feedback) { in OnTransportFeedback()
99 if (symbol != rtcp::TransportFeedback::StatusSymbol::kNotReceived) { in OnTransportFeedback()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dcompound_packet_unittest.cc19 using webrtc::rtcp::Bye;
20 using webrtc::rtcp::CompoundPacket;
21 using webrtc::rtcp::Fir;
22 using webrtc::rtcp::RawPacket;
23 using webrtc::rtcp::ReceiverReport;
24 using webrtc::rtcp::ReportBlock;
25 using webrtc::rtcp::SenderReport;
97 class Verifier : public rtcp::RtcpPacket::PacketReadyCallback { in TEST()
127 class Verifier : public rtcp::RtcpPacket::PacketReadyCallback { in TEST()
/external/srtp/test/
Drtpw.c315 crypto_policy_set_rtcp_default(&policy.rtcp); in main()
319 crypto_policy_set_rtcp_default(&policy.rtcp); in main()
323 crypto_policy_set_rtcp_default(&policy.rtcp); in main()
336 policy.rtcp.sec_serv = sec_serv_none; /* we don't do RTCP anyway */ in main()
381 policy.rtcp.cipher_type = NULL_CIPHER; in main()
382 policy.rtcp.cipher_key_len = 0; in main()
383 policy.rtcp.auth_type = NULL_AUTH; in main()
384 policy.rtcp.auth_key_len = 0; in main()
385 policy.rtcp.auth_tag_len = 0; in main()
386 policy.rtcp.sec_serv = sec_serv_none; in main()
/external/webrtc/talk/session/media/
Dchannel.cc117 static const char* PacketType(bool rtcp) { in PacketType() argument
118 return (!rtcp) ? "RTP" : "RTCP"; in PacketType()
121 static bool ValidPacket(bool rtcp, const rtc::Buffer* packet) { in ValidPacket() argument
124 packet->size() >= (!rtcp ? kMinRtpPacketLen : kMinRtcpPacketLen) && in ValidPacket()
158 params->rtcp.reduced_size = desc->rtcp_reduced_size(); in RtpParametersFromMediaDescription()
173 bool rtcp) in BaseChannel() argument
178 rtcp_transport_enabled_(rtcp), in BaseChannel()
505 bool rtcp = PacketIsRtcp(channel, data, len); in OnChannelRead() local
507 HandlePacket(rtcp, &packet, packet_time); in OnChannelRead()
531 void BaseChannel::SetReadyToSend(bool rtcp, bool ready) { in SetReadyToSend() argument
[all …]
Dchannelmanager.h104 bool rtcp,
114 bool rtcp,
120 bool rtcp,
195 bool rtcp,
202 bool rtcp,
207 bool rtcp,
Dchannelmanager.cc254 bool rtcp, in CreateVoiceChannel() argument
258 transport_controller, content_name, rtcp, options)); in CreateVoiceChannel()
265 bool rtcp, in CreateVoiceChannel_w() argument
277 transport_controller, content_name, rtcp); in CreateVoiceChannel_w()
312 bool rtcp, in CreateVideoChannel() argument
316 transport_controller, content_name, rtcp, options)); in CreateVideoChannel()
323 bool rtcp, in CreateVideoChannel_w() argument
335 worker_thread_, media_channel, transport_controller, content_name, rtcp); in CreateVideoChannel_w()
370 bool rtcp, in CreateDataChannel() argument
374 content_name, rtcp, channel_type)); in CreateDataChannel()
[all …]
Dchannel.h89 bool rtcp);
162 void SignalDtlsSetupFailure_w(bool rtcp);
163 void SignalDtlsSetupFailure_s(bool rtcp);
169 void SetReadyToSend(bool rtcp, bool ready);
228 bool SendPacket(bool rtcp,
231 virtual bool WantsPacket(bool rtcp, rtc::Buffer* packet);
232 void HandlePacket(bool rtcp, rtc::Buffer* packet,
250 bool SetDtlsSrtpCryptoSuites(TransportChannel* tc, bool rtcp);
347 bool rtcp);
449 bool rtcp);
[all …]
/external/webrtc/webrtc/api/objctests/
DRTCSessionDescriptionTest.mm71 "a=rtcp:9 IN IP4 0.0.0.0\r\n"
82 "a=rtcp-mux\r\n"
97 "a=rtcp:9 IN IP4 0.0.0.0\r\n"
109 "a=rtcp-mux\r\n"
111 "a=rtcp-fb:100 ccm fir\r\n"
112 "a=rtcp-fb:100 nack\r\n"
113 "a=rtcp-fb:100 nack pli\r\n"
114 "a=rtcp-fb:100 goog-remb\r\n"
/external/srtp/googlepatches/
Dvidyo-4-srtp-rtx.patch85 policy.rtcp.sec_serv = sec_serv_none; /* we don't do RTCP anyway */
88 policy.rtcp.auth_tag_len = 0;
89 policy.rtcp.sec_serv = sec_serv_none;
107 "# rtcp cipher: %s\r\n"
108 "# rtcp auth: %s\r\n"
109 "# rtcp services: %s\r\n"
127 "# rtcp cipher: %s\r\n"
128 "# rtcp auth: %s\r\n"
129 "# rtcp services: %s\r\n"
Dgoogle-9-rdbx-leak-plug.patch70 stat = crypto_kernel_alloc_cipher(p->rtcp.cipher_type,
72 - p->rtcp.cipher_key_len);
73 + p->rtcp.cipher_key_len);
85 p->rtcp.auth_key_len,
86 p->rtcp.auth_tag_len);
175 * deallocate rtcp cipher, if it is not the same as that in
188 * deallocate rtcp auth function, if it is not the same as that in
/external/webrtc/webrtc/video/
Dstream_synchronization_unittest.cc38 RtcpMeasurement rtcp; in GenerateRtcp() local
39 NowNtp(&rtcp.ntp_secs, &rtcp.ntp_frac); in GenerateRtcp()
40 rtcp.rtp_timestamp = NowRtp(frequency, offset); in GenerateRtcp()
41 return rtcp; in GenerateRtcp()
105 audio.rtcp.push_front(send_time_->GenerateRtcp(audio_frequency, in DelayedStreams()
109 video.rtcp.push_front(send_time_->GenerateRtcp(video_frequency, in DelayedStreams()
113 audio.rtcp.push_front(send_time_->GenerateRtcp(audio_frequency, in DelayedStreams()
117 video.rtcp.push_front(send_time_->GenerateRtcp(video_frequency, in DelayedStreams()
Dstream_synchronization.cc63 if (audio_measurement.rtcp.size() < 2 || video_measurement.rtcp.size() < 2) { in ComputeRelativeDelay()
69 audio_measurement.rtcp, in ComputeRelativeDelay()
75 video_measurement.rtcp, in ComputeRelativeDelay()
Dstream_synchronization.h26 Measurements() : rtcp(), latest_receive_time_ms(0), latest_timestamp(0) {} in Measurements()
27 RtcpList rtcp; member
/external/webrtc/talk/media/base/
Drtpdump.h74 RtpDumpPacket(const void* d, size_t s, uint32_t elapsed, bool rtcp) in RtpDumpPacket()
75 : elapsed_time(elapsed), original_data_len((rtcp) ? 0 : s) { in RtpDumpPacket()
219 bool rtcp);
220 size_t FilterPacket(const void* data, size_t data_len, bool rtcp);

12345