Home
last modified time | relevance | path

Searched refs:rtp_stats (Results 1 – 25 of 35) sorted by relevance

12

/external/webrtc/rtc_tools/py_event_log_analyzer/
Drtp_analyzer.py319 rtp_stats = RTPStatistics(data_points)
323 rtp_stats.PrintHeaderStatistics()
326 chosen_ssrc = rtp_stats.ChooseSsrc()
329 rtp_stats.FilterSsrc(chosen_ssrc)
332 rtp_stats.PrintSequenceNumberStatistics()
333 rtp_stats.EstimateFrequency(options.query_sample_rate)
334 rtp_stats.PrintDurationStatistics()
335 rtp_stats.RemoveReordered()
336 rtp_stats.ComputeBandwidth()
337 rtp_stats.PlotStatistics()
/external/webrtc/call/
Drampup_tests.cc350 *total_packets_sent += stream.rtp_stats.transmitted.packets + in AccumulateStats()
351 stream.rtp_stats.retransmitted.packets + in AccumulateStats()
352 stream.rtp_stats.fec.packets; in AccumulateStats()
353 *total_sent += stream.rtp_stats.transmitted.TotalBytes() + in AccumulateStats()
354 stream.rtp_stats.retransmitted.TotalBytes() + in AccumulateStats()
355 stream.rtp_stats.fec.TotalBytes(); in AccumulateStats()
356 *padding_sent += stream.rtp_stats.transmitted.padding_bytes + in AccumulateStats()
357 stream.rtp_stats.retransmitted.padding_bytes + in AccumulateStats()
358 stream.rtp_stats.fec.padding_bytes; in AccumulateStats()
359 *media_sent += stream.rtp_stats.MediaPayloadBytes(); in AccumulateStats()
[all …]
Drtp_transport_controller_send_interface.h62 StreamDataCountersCallback* rtp_stats; member
Dvideo_send_stream.h82 StreamDataCounters rtp_stats; member
Dvideo_receive_stream.cc67 ss << "cum_loss: " << rtp_stats.packets_lost << ", "; in ToString()
Dvideo_receive_stream.h146 RtpReceiveStats rtp_stats; member
/external/webrtc/video/end_to_end_tests/
Dstats_tests.cc123 stats.rtp_stats.packets_lost != 0 || stats.rtp_stats.jitter != 0; in TEST_F()
126 stats.rtp_stats.packet_counter.payload_bytes != 0 || in TEST_F()
127 stats.rtp_stats.packet_counter.header_bytes != 0 || in TEST_F()
128 stats.rtp_stats.packet_counter.packets != 0 || in TEST_F()
129 stats.rtp_stats.packet_counter.padding_bytes != 0; in TEST_F()
187 stream_stats.rtp_stats.fec.packets != 0 || in TEST_F()
188 stream_stats.rtp_stats.transmitted.padding_bytes != 0 || in TEST_F()
189 stream_stats.rtp_stats.retransmitted.packets != 0 || in TEST_F()
190 stream_stats.rtp_stats.transmitted.packets != 0; in TEST_F()
448 if (kNumRtpPacketsToSend == stats.rtp_stats.packet_counter.packets) { in TEST_F()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl.cc303 StreamDataCounters rtp_stats; in GetFeedbackState() local
305 rtp_sender_->packet_sender.GetDataCounters(&rtp_stats, &rtx_stats); in GetFeedbackState()
307 rtp_stats.transmitted.packets + rtx_stats.transmitted.packets; in GetFeedbackState()
308 state.media_bytes_sent = rtp_stats.transmitted.payload_bytes + in GetFeedbackState()
551 StreamDataCounters rtp_stats; in DataCountersRTP() local
553 rtp_sender_->packet_sender.GetDataCounters(&rtp_stats, &rtx_stats); in DataCountersRTP()
558 *bytes_sent = rtp_stats.transmitted.payload_bytes + in DataCountersRTP()
559 rtp_stats.transmitted.padding_bytes + in DataCountersRTP()
560 rtp_stats.transmitted.header_bytes + in DataCountersRTP()
567 rtp_stats.transmitted.packets + rtx_stats.transmitted.packets; in DataCountersRTP()
Drtp_rtcp_impl2.cc251 StreamDataCounters rtp_stats; in GetFeedbackState() local
253 rtp_sender_->packet_sender.GetDataCounters(&rtp_stats, &rtx_stats); in GetFeedbackState()
255 rtp_stats.transmitted.packets + rtx_stats.transmitted.packets; in GetFeedbackState()
256 state.media_bytes_sent = rtp_stats.transmitted.payload_bytes + in GetFeedbackState()
Drtp_sender_unittest.cc2019 StreamDataCounters rtp_stats; in TEST_P() local
2021 rtp_egress()->GetDataCounters(&rtp_stats, &rtx_stats); in TEST_P()
2024 EXPECT_GT(rtp_stats.first_packet_time_ms, -1); in TEST_P()
2025 EXPECT_EQ(rtp_stats.transmitted.payload_bytes, sizeof(kPayloadData)); in TEST_P()
2026 EXPECT_EQ(rtp_stats.transmitted.header_bytes, 12u); in TEST_P()
2027 EXPECT_EQ(rtp_stats.transmitted.padding_bytes, 0u); in TEST_P()
2032 EXPECT_EQ(rtp_stats.transmitted.TotalBytes(), in TEST_P()
2033 rtp_stats.transmitted.payload_bytes + in TEST_P()
2034 rtp_stats.transmitted.header_bytes + in TEST_P()
2035 rtp_stats.transmitted.padding_bytes); in TEST_P()
[all …]
Drtp_sender_egress.h70 void GetDataCounters(StreamDataCounters* rtp_stats,
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc5375 substream.rtp_stats.transmitted.header_bytes = 10; in TEST_F()
5376 substream.rtp_stats.transmitted.padding_bytes = 11; in TEST_F()
5377 substream.rtp_stats.retransmitted.payload_bytes = 12; in TEST_F()
5378 substream.rtp_stats.retransmitted.packets = 13; in TEST_F()
5407 static_cast<int64_t>(2u * substream.rtp_stats.transmitted.payload_bytes)); in TEST_F()
5410 2u * (substream.rtp_stats.transmitted.header_bytes + in TEST_F()
5411 substream.rtp_stats.transmitted.padding_bytes))); in TEST_F()
5413 2u * substream.rtp_stats.retransmitted.payload_bytes); in TEST_F()
5415 static_cast<int>(2 * substream.rtp_stats.transmitted.packets)); in TEST_F()
5417 2u * substream.rtp_stats.retransmitted.packets); in TEST_F()
[all …]
Dwebrtc_video_engine.cc402 rtp_substream.rtp_stats.Add(associated_substream.rtp_stats); in MergeInfoAboutOutboundRtpSubstreams()
2549 info.payload_bytes_sent = stream_stats.rtp_stats.transmitted.payload_bytes; in GetPerLayerVideoSenderInfos()
2551 stream_stats.rtp_stats.transmitted.header_bytes + in GetPerLayerVideoSenderInfos()
2552 stream_stats.rtp_stats.transmitted.padding_bytes; in GetPerLayerVideoSenderInfos()
2553 info.packets_sent = stream_stats.rtp_stats.transmitted.packets; in GetPerLayerVideoSenderInfos()
2562 stream_stats.rtp_stats.retransmitted.payload_bytes; in GetPerLayerVideoSenderInfos()
2564 stream_stats.rtp_stats.retransmitted.packets; in GetPerLayerVideoSenderInfos()
3026 info.payload_bytes_rcvd = stats.rtp_stats.packet_counter.payload_bytes; in GetVideoReceiverInfo()
3028 stats.rtp_stats.packet_counter.header_bytes + in GetVideoReceiverInfo()
3029 stats.rtp_stats.packet_counter.padding_bytes; in GetVideoReceiverInfo()
[all …]
/external/webrtc/audio/
Dchannel_receive.cc730 RtpReceiveStats rtp_stats; in GetRTCPStatistics() local
734 rtp_stats = statistician->GetStats(); in GetRTCPStatistics()
737 stats.cumulativeLost = rtp_stats.packets_lost; in GetRTCPStatistics()
738 stats.jitterSamples = rtp_stats.jitter; in GetRTCPStatistics()
745 stats.payload_bytes_rcvd = rtp_stats.packet_counter.payload_bytes; in GetRTCPStatistics()
748 rtp_stats.packet_counter.header_bytes + in GetRTCPStatistics()
749 rtp_stats.packet_counter.padding_bytes; in GetRTCPStatistics()
750 stats.packetsReceived = rtp_stats.packet_counter.packets; in GetRTCPStatistics()
752 rtp_stats.last_packet_received_timestamp_ms; in GetRTCPStatistics()
Dchannel_send.cc778 StreamDataCounters rtp_stats; in GetRTCPStatistics() local
780 rtp_rtcp_->GetSendStreamDataCounters(&rtp_stats, &rtx_stats); in GetRTCPStatistics()
782 rtp_stats.transmitted.payload_bytes + rtx_stats.transmitted.payload_bytes; in GetRTCPStatistics()
784 rtp_stats.transmitted.padding_bytes + rtp_stats.transmitted.header_bytes + in GetRTCPStatistics()
789 stats.retransmitted_bytes_sent = rtp_stats.retransmitted.payload_bytes; in GetRTCPStatistics()
791 rtp_stats.transmitted.packets + rtx_stats.transmitted.packets; in GetRTCPStatistics()
792 stats.retransmitted_packets_sent = rtp_stats.retransmitted.packets; in GetRTCPStatistics()
/external/webrtc/test/scenario/
Dvideo_stream_unittest.cc132 retransmit_packets += substream.second.rtp_stats.retransmitted.packets; in TEST()
154 EXPECT_GT(video_stats.substreams.begin()->second.rtp_stats.fec.packets, 0u); in TEST()
171 EXPECT_GT(video_stats.substreams.begin()->second.rtp_stats.fec.packets, 0u); in TEST()
190 EXPECT_GT(video_stats.substreams.begin()->second.rtp_stats.fec.packets, 0u); in TEST()
Dstats_collection.cc166 fec_bytes += kv.second.rtp_stats.fec.payload_bytes + in AddStats()
167 kv.second.rtp_stats.fec.padding_bytes; in AddStats()
/external/webrtc/video/
Dvideo_receive_stream.cc448 stats.rtp_stats = statistician->GetStats(); in GetStats()
462 StreamDataCounters rtp_stats; in UpdateHistograms() local
467 rtp_stats = statistician->GetReceiveStreamDataCounters(); in UpdateHistograms()
475 stats_proxy_.UpdateHistograms(fraction_lost, rtp_stats, &rtx_stats); in UpdateHistograms()
479 stats_proxy_.UpdateHistograms(fraction_lost, rtp_stats, nullptr); in UpdateHistograms()
Dvideo_receive_stream2.cc425 stats.rtp_stats = statistician->GetStats(); in GetStats()
440 StreamDataCounters rtp_stats; in UpdateHistograms() local
445 rtp_stats = statistician->GetReceiveStreamDataCounters(); in UpdateHistograms()
453 stats_proxy_.UpdateHistograms(fraction_lost, rtp_stats, &rtx_stats); in UpdateHistograms()
457 stats_proxy_.UpdateHistograms(fraction_lost, rtp_stats, nullptr); in UpdateHistograms()
Dsend_statistics_proxy.cc202 total_byte_counter_.SetLast(it.second.rtp_stats.transmitted.TotalBytes(), in InitializeBitrateCounters()
204 padding_byte_counter_.SetLast(it.second.rtp_stats.transmitted.padding_bytes, in InitializeBitrateCounters()
207 it.second.rtp_stats.retransmitted.TotalBytes(), ssrc); in InitializeBitrateCounters()
208 fec_byte_counter_.SetLast(it.second.rtp_stats.fec.TotalBytes(), ssrc); in InitializeBitrateCounters()
211 media_byte_counter_.SetLast(it.second.rtp_stats.MediaPayloadBytes(), in InitializeBitrateCounters()
215 rtx_byte_counter_.SetLast(it.second.rtp_stats.transmitted.TotalBytes(), in InitializeBitrateCounters()
1321 stats->rtp_stats = counters; in DataCountersUpdated()
Dsend_statistics_proxy_unittest.cc151 EXPECT_EQ(a.rtp_stats.transmitted.payload_bytes, in ExpectEqual()
152 b.rtp_stats.transmitted.payload_bytes); in ExpectEqual()
153 EXPECT_EQ(a.rtp_stats.transmitted.header_bytes, in ExpectEqual()
154 b.rtp_stats.transmitted.header_bytes); in ExpectEqual()
155 EXPECT_EQ(a.rtp_stats.transmitted.padding_bytes, in ExpectEqual()
156 b.rtp_stats.transmitted.padding_bytes); in ExpectEqual()
157 EXPECT_EQ(a.rtp_stats.transmitted.packets, in ExpectEqual()
158 b.rtp_stats.transmitted.packets); in ExpectEqual()
159 EXPECT_EQ(a.rtp_stats.retransmitted.packets, in ExpectEqual()
160 b.rtp_stats.retransmitted.packets); in ExpectEqual()
[all …]
Dreceive_statistics_proxy.cc128 const StreamDataCounters& rtp_stats, in UpdateHistograms() argument
407 StreamDataCounters rtp_rtx_stats = rtp_stats; in UpdateHistograms()
418 int media_bitrate_kbs = static_cast<int>(rtp_stats.MediaPayloadBytes() * 8 / in UpdateHistograms()
Dreceive_statistics_proxy2.h117 const StreamDataCounters& rtp_stats,
/external/webrtc/modules/rtp_rtcp/source/deprecated/
Ddeprecated_rtp_sender_egress.h62 void GetDataCounters(StreamDataCounters* rtp_stats,
Ddeprecated_rtp_sender_egress.cc235 StreamDataCounters* rtp_stats, in GetDataCounters() argument
238 *rtp_stats = rtp_stats_; in GetDataCounters()

12