/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
H A D | rtp_to_ntp_unittest.cc | 37 RtcpList rtcp; local 43 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); 46 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); 52 EXPECT_FALSE(RtpToNtpMs(timestamp, rtcp, ×tamp_in_ms)); 56 RtcpList rtcp; local 62 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); 65 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); 67 EXPECT_TRUE(RtpToNtpMs(rtcp.back().rtp_timestamp, rtcp, ×tamp_in_ms)); 76 RtcpList rtcp; local 96 RtcpList rtcp; local 113 RtcpList rtcp; local 133 RtcpList rtcp; local [all...] |
H A D | rtp_to_ntp.cc | 92 // pairs in |rtcp|. The converted timestamp is returned in 96 const RtcpList& rtcp, 98 assert(rtcp.size() == 2); 99 int64_t rtcp_ntp_ms_new = Clock::NtpToMs(rtcp.front().ntp_secs, 100 rtcp.front().ntp_frac); 101 int64_t rtcp_ntp_ms_old = Clock::NtpToMs(rtcp.back().ntp_secs, 102 rtcp.back().ntp_frac); 103 int64_t rtcp_timestamp_new = rtcp.front().rtp_timestamp; 104 int64_t rtcp_timestamp_old = rtcp.back().rtp_timestamp; 95 RtpToNtpMs(int64_t rtp_timestamp, const RtcpList& rtcp, int64_t* rtp_timestamp_in_ms) argument
|
/external/chromium_org/third_party/webrtc/video_engine/ |
H A D | stream_synchronization.h | 26 Measurements() : rtcp(), latest_receive_time_ms(0), latest_timestamp(0) {} 27 RtcpList rtcp; member in struct:webrtc::StreamSynchronization::Measurements
|
H A D | stream_synchronization_unittest.cc | 37 RtcpMeasurement rtcp; local 38 NowNtp(&rtcp.ntp_secs, &rtcp.ntp_frac); 39 rtcp.rtp_timestamp = NowRtp(frequency, offset); 40 return rtcp; 104 audio.rtcp.push_front(send_time_->GenerateRtcp(audio_frequency, 108 video.rtcp.push_front(send_time_->GenerateRtcp(video_frequency, 112 audio.rtcp.push_front(send_time_->GenerateRtcp(audio_frequency, 116 video.rtcp.push_front(send_time_->GenerateRtcp(video_frequency,
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
H A D | bundlefilter.cc | 43 bool BundleFilter::DemuxPacket(const char* data, size_t len, bool rtcp) { argument 45 // For rtcp packets, we check whether the ssrc can be found or is the special 47 // |streams_| is empty, we will allow all rtcp packets pass through provided 48 // that they are valid rtcp packets in case that they are for early media. 49 if (!rtcp) { 78 // Pass through if |streams_| is empty to allow early rtcp packets in.
|
H A D | mediarecorder.cc | 77 void RtpDumpSink::OnPacket(const void* data, size_t size, bool rtcp) { argument 84 if (!rtcp) {
|
H A D | channel.h | 80 const std::string& content_name, bool rtcp); 248 bool rtcp() const { return rtcp_; } function in class:cricket::BaseChannel 270 bool SendPacket(bool rtcp, rtc::Buffer* packet, 272 virtual bool WantsPacket(bool rtcp, rtc::Buffer* packet); 273 void HandlePacket(bool rtcp, rtc::Buffer* packet, 295 bool SetDtlsSrtpCiphers(TransportChannel *tc, bool rtcp); 403 const std::string& content_name, bool rtcp); 512 const std::string& content_name, bool rtcp, 607 bool rtcp); 695 virtual bool WantsPacket(bool rtcp, rt [all...] |
H A D | call.cc | 308 bool rtcp = false; local 311 session, data_offer->name, rtcp, data_channel_type);
|
H A D | channelmanager.cc | 319 BaseSession* session, const std::string& content_name, bool rtcp) { 322 session, content_name, rtcp)); 326 BaseSession* session, const std::string& content_name, bool rtcp) { 335 session, content_name, rtcp); 365 BaseSession* session, const std::string& content_name, bool rtcp, 369 content_name, rtcp, voice_channel)); 373 BaseSession* session, const std::string& content_name, bool rtcp, 386 session, content_name, rtcp, voice_channel); 417 bool rtcp, DataChannelType channel_type) { 420 rtcp, channel_typ 318 CreateVoiceChannel( BaseSession* session, const std::string& content_name, bool rtcp) argument 325 CreateVoiceChannel_w( BaseSession* session, const std::string& content_name, bool rtcp) argument 364 CreateVideoChannel( BaseSession* session, const std::string& content_name, bool rtcp, VoiceChannel* voice_channel) argument 372 CreateVideoChannel_w( BaseSession* session, const std::string& content_name, bool rtcp, VoiceChannel* voice_channel) argument 415 CreateDataChannel( BaseSession* session, const std::string& content_name, bool rtcp, DataChannelType channel_type) argument 423 CreateDataChannel_w( BaseSession* session, const std::string& content_name, bool rtcp, DataChannelType data_channel_type) argument [all...] |
H A D | channel_unittest.cc | 269 bool rtcp) { 271 thread, engine, ch, session, cricket::CN_AUDIO, rtcp); 440 // Set SSRC in the rtcp packet copy. 1776 TransportChannel* rtcp = channel1_->rtcp_transport_channel(); local 1780 rtcp->SignalReadyToSend(rtcp); 1781 // MediaChannel::OnReadyToSend only be called when both rtp and rtcp 1791 // rtcp channel becomes not ready to send will be propagated to mediachannel 1792 channel1_->SetReadyToSend(rtcp, false); 1794 channel1_->SetReadyToSend(rtcp, tru 265 CreateChannel(rtc::Thread* thread, cricket::MediaEngineInterface* engine, typename T::MediaChannel* ch, cricket::BaseSession* session, bool rtcp) argument 1916 CreateChannel( rtc::Thread* thread, cricket::MediaEngineInterface* engine, cricket::FakeVideoMediaChannel* ch, cricket::BaseSession* session, bool rtcp) argument 2711 CreateChannel( rtc::Thread* thread, cricket::MediaEngineInterface* engine, cricket::FakeDataMediaChannel* ch, cricket::BaseSession* session, bool rtcp) argument [all...] |
H A D | channel.cc | 128 static const char* PacketType(bool rtcp) { argument 129 return (!rtcp) ? "RTP" : "RTCP"; 132 static bool ValidPacket(bool rtcp, const rtc::Buffer* packet) { argument 135 packet->length() >= (!rtcp ? kMinRtpPacketLen : kMinRtcpPacketLen) && 157 const std::string& content_name, bool rtcp) 163 rtcp_(rtcp), 202 if (rtcp() && rtcp_transport_channel == NULL) { 374 bool rtcp = PacketIsRtcp(channel, data, len); local 376 HandlePacket(rtcp, &packet, packet_time); 393 // Notify the MediaChannel when either rtp or rtcp channe 154 BaseChannel(rtc::Thread* thread, MediaEngineInterface* media_engine, MediaChannel* media_channel, BaseSession* session, const std::string& content_name, bool rtcp) argument 409 SendPacket(bool rtcp, rtc::Buffer* packet, rtc::DiffServCodePoint dscp) argument 539 WantsPacket(bool rtcp, rtc::Buffer* packet) argument 552 HandlePacket(bool rtcp, rtc::Buffer* packet, const rtc::PacketTime& packet_time) argument 748 SetDtlsSrtpCiphers(TransportChannel *tc, bool rtcp) argument 1252 VoiceChannel(rtc::Thread* thread, MediaEngineInterface* media_engine, VoiceMediaChannel* media_channel, BaseSession* session, const std::string& content_name, bool rtcp) argument 1651 VideoChannel(rtc::Thread* thread, MediaEngineInterface* media_engine, VideoMediaChannel* media_channel, BaseSession* session, const std::string& content_name, bool rtcp, VoiceChannel* voice_channel) argument 2100 DataChannel(rtc::Thread* thread, DataMediaChannel* media_channel, BaseSession* session, const std::string& content_name, bool rtcp) argument 2152 WantsPacket(bool rtcp, rtc::Buffer* packet) argument [all...] |
/external/chromium_org/media/cast/net/rtcp/ |
H A D | rtcp_unittest.cc | 11 #include "media/cast/net/rtcp/rtcp.h" 30 void set_rtcp_destination(Rtcp* rtcp) { rtcp_ = rtcp; } argument
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | rtpdump.cc | 353 const void* data, size_t data_len, uint32 elapsed, bool rtcp) { 367 size_t write_len = FilterPacket(data, data_len, rtcp); 376 buf.WriteUInt16(static_cast<uint16>(rtcp ? 0 : data_len)); 388 bool rtcp) { 390 if (!rtcp) { 352 WritePacket( const void* data, size_t data_len, uint32 elapsed, bool rtcp) argument 387 FilterPacket(const void* data, size_t data_len, bool rtcp) argument
|
H A D | rtpdump.h | 74 RtpDumpPacket(const void* d, size_t s, uint32 elapsed, bool rtcp) argument 76 original_data_len((rtcp) ? 0 : s) { 218 uint32 elapsed, bool rtcp); 219 size_t FilterPacket(const void* data, size_t data_len, bool rtcp);
|
H A D | testutils.cc | 138 size_t count, bool rtcp, uint32 rtp_ssrc, RtpDumpWriter* writer) { 145 if (rtcp) { 151 RtpDumpPacket dump_packet(buf.Data(), buf.Length(), elapsed_time_ms, rtcp); 137 WriteTestPackets( size_t count, bool rtcp, uint32 rtp_ssrc, RtpDumpWriter* writer) argument
|
H A D | mediachannel.h | 649 bool DoSendPacket(rtc::Buffer* packet, bool rtcp) { argument 654 return (!rtcp) ? network_interface_->SendPacket(packet) :
|
/external/chromium_org/third_party/libsrtp/srtp/include/ |
H A D | srtp.h | 217 crypto_policy_t rtcp; /**< SRTCP crypto policy. */ member in struct:srtp_policy_t
|
/external/srtp/include/ |
H A D | srtp.h | 217 crypto_policy_t rtcp; /**< SRTCP crypto policy. */ member in struct:srtp_policy_t
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/ |
H A D | remote_bitrate_estimator_unittest_helper.cc | 84 RtcpPacket* rtcp = new RtcpPacket; local 86 rtcp->timestamp = rtp_timestamp_offset_ + static_cast<uint32_t>( 88 rtcp->ntp_secs = send_time_us / 1000000; 89 rtcp->ntp_frac = static_cast<int64_t>((send_time_us % 1000000) * 91 rtcp->ssrc = ssrc_; 93 return rtcp;
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
H A D | rtcp_packet.cc | 55 namespace rtcp { namespace in namespace:webrtc 1089 } // namespace rtcp
|
H A D | rtcp_packet.h | 24 namespace rtcp { namespace in namespace:webrtc 55 // // the built rtcp packet. 1057 // Takes a built rtcp packet. 1084 } // namespace rtcp
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtcvoiceengine.cc | 3632 bool rtcp) { 3633 size_t ssrc_pos = (!rtcp) ? 8 : 4; 3631 ParseSsrc(const void* data, size_t len, bool rtcp) argument
|
/external/chromium_org/third_party/webrtc/voice_engine/ |
H A D | channel.cc | 47 ChannelStatistics() : rtcp(), max_jitter(0) {} 49 RtcpStatistics rtcp; member in struct:webrtc::voe::ChannelStatistics 67 stats_.rtcp = statistics; 3348 averageJitterMs = stats.rtcp.jitter / (playoutFrequency / 1000); 3951 void Channel::UpdatePlayoutTimestamp(bool rtcp) { argument 3980 if (rtcp) {
|