Home
last modified time | relevance | path

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

12345678

/external/webrtc/test/
Drtcp_packet_parser.h44 rtcp::CommonHeader header; in ParseSinglePacket()
62 void Parse(const rtcp::CommonHeader& header) { in Parse()
66 bool Parse(const rtcp::CommonHeader& header, uint32_t* sender_ssrc) { in Parse()
85 PacketCounter<rtcp::App>* app() { return &app_; } in app()
86 PacketCounter<rtcp::Bye>* bye() { return &bye_; } in bye()
87 PacketCounter<rtcp::ExtendedJitterReport>* ij() { return &ij_; } in ij()
88 PacketCounter<rtcp::ExtendedReports>* xr() { return &xr_; } in xr()
89 PacketCounter<rtcp::Fir>* fir() { return &fir_; } in fir()
90 PacketCounter<rtcp::Nack>* nack() { return &nack_; } in nack()
91 PacketCounter<rtcp::Pli>* pli() { return &pli_; } in pli()
[all …]
Drtcp_packet_parser.cc30 rtcp::CommonHeader header; in Parse()
41 case rtcp::App::kPacketType: in Parse()
44 case rtcp::Bye::kPacketType: in Parse()
47 case rtcp::ExtendedReports::kPacketType: in Parse()
50 case rtcp::ExtendedJitterReport::kPacketType: in Parse()
53 case rtcp::Psfb::kPacketType: in Parse()
55 case rtcp::Fir::kFeedbackMessageType: in Parse()
58 case rtcp::Pli::kFeedbackMessageType: in Parse()
61 case rtcp::Psfb::kAfbMessageType: in Parse()
74 case rtcp::ReceiverReport::kPacketType: in Parse()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_sender.cc54 class PacketContainer : public rtcp::CompoundPacket {
87 PacketSender(rtcp::RtcpPacket::PacketReadyCallback callback, in PacketSender()
96 void AppendPacket(const rtcp::RtcpPacket& packet) { in AppendPacket()
111 const rtcp::RtcpPacket::PacketReadyCallback callback_;
350 if (csrc_cnames_.size() >= rtcp::Sdes::kMaxNumberOfChunks - 1) in AddMixedCNAME()
450 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildSR(const RtcpContext& ctx) { in BuildSR()
469 rtcp::SenderReport* report = new rtcp::SenderReport(); in BuildSR()
477 return std::unique_ptr<rtcp::RtcpPacket>(report); in BuildSR()
480 std::unique_ptr<rtcp::RtcpPacket> RTCPSender::BuildSDES( in BuildSDES()
485 rtcp::Sdes* sdes = new rtcp::Sdes(); in BuildSDES()
[all …]
Drtcp_receiver.h33 namespace rtcp {
45 virtual void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) = 0;
80 std::vector<rtcp::ReceiveTimeInfo> ConsumeReceivedXrReferenceTimeInfo();
115 std::vector<rtcp::TmmbItem> TmmbrReceived();
118 std::vector<rtcp::TmmbItem> BoundingSet(bool* tmmbr_owner);
146 void HandleSenderReport(const rtcp::CommonHeader& rtcp_block,
150 void HandleReceiverReport(const rtcp::CommonHeader& rtcp_block,
154 void HandleReportBlock(const rtcp::ReportBlock& report_block,
159 void HandleSdes(const rtcp::CommonHeader& rtcp_block,
163 void HandleXr(const rtcp::CommonHeader& rtcp_block,
[all …]
Drtcp_transceiver_impl.cc61 PacketSender(rtcp::RtcpPacket::PacketReadyCallback callback, in PacketSender()
70 void AppendPacket(const rtcp::RtcpPacket& packet) { in AppendPacket()
85 const rtcp::RtcpPacket::PacketReadyCallback callback_;
138 rtcp::CommonHeader rtcp_block; in ReceivePacket()
170 absl::optional<rtcp::Remb> remb; in SetRemb()
196 rtcp::Nack nack; in SendNack()
206 rtcp::Pli pli; in SendPictureLossIndication()
218 rtcp::Fir fir; in SendFullIntraRequest()
230 const rtcp::CommonHeader& rtcp_packet_header, in HandleReceivedPacket()
233 case rtcp::Bye::kPacketType: in HandleReceivedPacket()
[all …]
Drtcp_receiver_unittest.cc49 using rtcp::ReceiveTimeInfo;
111 (const rtcp::TransportFeedback&),
117 MOCK_METHOD(void, SetTmmbn, (std::vector<rtcp::TmmbItem>), (override));
197 const uint8_t bad_packet[] = {0x81, rtcp::Rtpfb::kPacketType, 0, 0}; in TEST()
213 rtcp::SenderReport sr; in TEST()
230 rtcp::SenderReport sr; in TEST()
260 rtcp::SenderReport sr; in TEST()
262 rtcp::ReportBlock block; in TEST()
292 rtcp::SenderReport sr; in TEST()
294 rtcp::ReportBlock block; in TEST()
[all …]
Drtcp_receiver.cc53 using rtcp::CommonHeader;
54 using rtcp::ReportBlock;
113 std::unique_ptr<rtcp::TransportFeedback> transport_feedback;
116 std::unique_ptr<rtcp::LossNotification> loss_notification;
122 rtcp::TmmbItem tmmbr_item;
130 std::vector<rtcp::TmmbItem> tmmbn;
357 std::vector<rtcp::ReceiveTimeInfo>
362 received_rrtrs_.size(), rtcp::ExtendedReports::kMaxNumberOfDlrrItems); in ConsumeReceivedXrReferenceTimeInfo()
363 std::vector<rtcp::ReceiveTimeInfo> last_xr_rtis; in ConsumeReceivedXrReferenceTimeInfo()
423 case rtcp::SenderReport::kPacketType: in ParseCompoundPacket()
[all …]
Drtcp_transceiver_impl.h72 std::vector<std::unique_ptr<rtcp::RtcpPacket>> rtcp_packets);
78 void HandleReceivedPacket(const rtcp::CommonHeader& rtcp_packet_header,
81 void HandleBye(const rtcp::CommonHeader& rtcp_packet_header);
82 void HandleSenderReport(const rtcp::CommonHeader& rtcp_packet_header,
84 void HandleExtendedReports(const rtcp::CommonHeader& rtcp_packet_header,
87 void HandleDlrr(const rtcp::Dlrr& dlrr, int64_t now_us);
88 void HandleTargetBitrate(const rtcp::TargetBitrate& target_bitrate,
98 void SendImmediateFeedback(const rtcp::RtcpPacket& rtcp_packet);
100 std::vector<rtcp::ReportBlock> CreateReportBlocks(int64_t now_us);
105 absl::optional<rtcp::Remb> remb_;
Drtcp_sender.h61 std::vector<rtcp::ReceiveTimeInfo> last_xr_rtis;
139 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set)
156 std::vector<std::unique_ptr<rtcp::RtcpPacket>> rtcp_packets)
173 rtcp::CompoundPacket* out_packet)
180 std::vector<rtcp::ReportBlock> CreateReportBlocks(
184 std::unique_ptr<rtcp::RtcpPacket> BuildSR(const RtcpContext& context)
186 std::unique_ptr<rtcp::RtcpPacket> BuildRR(const RtcpContext& context)
188 std::unique_ptr<rtcp::RtcpPacket> BuildSDES(const RtcpContext& context)
190 std::unique_ptr<rtcp::RtcpPacket> BuildPLI(const RtcpContext& context)
192 std::unique_ptr<rtcp::RtcpPacket> BuildREMB(const RtcpContext& context)
[all …]
Dtmmbr_help.cc21 std::vector<rtcp::TmmbItem> TMMBRHelp::FindBoundingSet( in FindBoundingSet()
22 std::vector<rtcp::TmmbItem> candidates) { in FindBoundingSet()
38 [](const rtcp::TmmbItem& lhs, const rtcp::TmmbItem& rhs) { in FindBoundingSet()
81 std::vector<rtcp::TmmbItem> bounding_set; in FindBoundingSet()
113 rtcp::TmmbItem cur_candidate; in FindBoundingSet()
165 bool TMMBRHelp::IsOwner(const std::vector<rtcp::TmmbItem>& bounding, in IsOwner()
167 for (const rtcp::TmmbItem& item : bounding) { in IsOwner()
176 const std::vector<rtcp::TmmbItem>& candidates) { in CalcMinBitrateBps()
179 for (const rtcp::TmmbItem& item : candidates) in CalcMinBitrateBps()
Dtmmbr_help.h24 static std::vector<rtcp::TmmbItem> FindBoundingSet(
25 std::vector<rtcp::TmmbItem> candidates);
27 static bool IsOwner(const std::vector<rtcp::TmmbItem>& bounding,
31 const std::vector<rtcp::TmmbItem>& candidates);
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_estimator_proxy_unittest.cc39 (rtcp::TransportFeedback::kDeltaScaleFactor * 0xFF) / 1000;
47 const rtcp::TransportFeedback& feedback_packet) { in SequenceNumbers()
56 const rtcp::TransportFeedback& feedback_packet) { in TimestampsMs()
70 (std::vector<std::unique_ptr<rtcp::RtcpPacket>> feedback_packets),
126 [](std::vector<std::unique_ptr<rtcp::RtcpPacket>> feedback_packets) { in TEST_F()
127 rtcp::TransportFeedback* feedback_packet = in TEST_F()
128 static_cast<rtcp::TransportFeedback*>( in TEST_F()
149 [](std::vector<std::unique_ptr<rtcp::RtcpPacket>> feedback_packets) { in TEST_F()
150 rtcp::TransportFeedback* feedback_packet = in TEST_F()
151 static_cast<rtcp::TransportFeedback*>( in TEST_F()
[all …]
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.h87 rtcp::SenderReport NewSenderReport();
88 rtcp::ReceiverReport NewReceiverReport();
89 rtcp::ExtendedReports NewExtendedReports();
90 rtcp::Nack NewNack();
91 rtcp::Remb NewRemb();
92 rtcp::Fir NewFir();
93 rtcp::Pli NewPli();
94 rtcp::TransportFeedback NewTransportFeedback();
95 rtcp::LossNotification NewLossNotification();
141 rtcp::ReportBlock NewReportBlock();
[all …]
Dlogged_events.h316 : rtcp(timestamp_us, packet, total_length) {} in LoggedRtcpPacketIncoming()
318 : rtcp(timestamp_us, packet) {} in LoggedRtcpPacketIncoming()
320 int64_t log_time_us() const { return rtcp.timestamp_us; } in log_time_us()
321 int64_t log_time_ms() const { return rtcp.timestamp_us / 1000; } in log_time_ms()
323 LoggedRtcpPacket rtcp; member
330 : rtcp(timestamp_us, packet, total_length) {} in LoggedRtcpPacketOutgoing()
332 : rtcp(timestamp_us, packet) {} in LoggedRtcpPacketOutgoing()
334 int64_t log_time_us() const { return rtcp.timestamp_us; } in log_time_us()
335 int64_t log_time_ms() const { return rtcp.timestamp_us / 1000; } in log_time_ms()
337 LoggedRtcpPacket rtcp; member
[all …]
Drtc_event_log_unittest_helper.cc232 rtcp::ReportBlock EventGenerator::NewReportBlock() { in NewReportBlock()
233 rtcp::ReportBlock report_block; in NewReportBlock()
246 rtcp::SenderReport EventGenerator::NewSenderReport() { in NewSenderReport()
247 rtcp::SenderReport sender_report; in NewSenderReport()
257 rtcp::ReceiverReport EventGenerator::NewReceiverReport() { in NewReceiverReport()
258 rtcp::ReceiverReport receiver_report; in NewReceiverReport()
264 rtcp::ExtendedReports EventGenerator::NewExtendedReports() { in NewExtendedReports()
265 rtcp::ExtendedReports extended_report; in NewExtendedReports()
268 rtcp::Rrtr rrtr; in NewExtendedReports()
272 rtcp::ReceiveTimeInfo time_info( in NewExtendedReports()
[all …]
/external/webrtc/test/fuzzers/corpora/sdp-corpus/
Dopera-2.sdp9 a=rtcp:9 IN IP4 0.0.0.0
18 a=rtcp-mux
20 a=rtcp-fb:111 transport-cc
34 a=rtcp:9 IN IP4 0.0.0.0
44 a=rtcp-mux
46 a=rtcp-fb:100 ccm fir
47 a=rtcp-fb:100 nack
48 a=rtcp-fb:100 nack pli
49 a=rtcp-fb:100 goog-remb
50 a=rtcp-fb:100 transport-cc
[all …]
Dopera-1.sdp9 a=rtcp:9 IN IP4 0.0.0.0
18 a=rtcp-mux
20 a=rtcp-fb:111 transport-cc
38 a=rtcp:9 IN IP4 0.0.0.0
48 a=rtcp-mux
50 a=rtcp-fb:100 ccm fir
51 a=rtcp-fb:100 nack
52 a=rtcp-fb:100 nack pli
53 a=rtcp-fb:100 goog-remb
54 a=rtcp-fb:100 transport-cc
[all …]
Dfirefox-1.sdp18 a=rtcp-mux
35 a=rtcp-fb:120 nack
36 a=rtcp-fb:120 nack pli
37 a=rtcp-fb:120 ccm fir
38 a=rtcp-fb:126 nack
39 a=rtcp-fb:126 nack pli
40 a=rtcp-fb:126 ccm fir
41 a=rtcp-fb:97 nack
42 a=rtcp-fb:97 nack pli
43 a=rtcp-fb:97 ccm fir
[all …]
Dsimulcast.2.sdp9 a=rtcp:9 IN IP4 0.0.0.0
30 a=rtcp-mux
31 a=rtcp-rsize
33 a=rtcp-fb:96 goog-remb
34 a=rtcp-fb:96 transport-cc
35 a=rtcp-fb:96 ccm fir
36 a=rtcp-fb:96 nack
37 a=rtcp-fb:96 nack pli
Dsimulcast.1.sdp9 a=rtcp:9 IN IP4 0.0.0.0
30 a=rtcp-mux
31 a=rtcp-rsize
33 a=rtcp-fb:96 goog-remb
34 a=rtcp-fb:96 transport-cc
35 a=rtcp-fb:96 ccm fir
36 a=rtcp-fb:96 nack
37 a=rtcp-fb:96 nack pli
Dfirefox-2.sdp17 a=rtcp-mux
28 a=rtcp-fb:120 nack
29 a=rtcp-fb:120 nack pli
30 a=rtcp-fb:120 ccm fir
31 a=rtcp-mux
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Dalerts.cc159 for (const auto& rtcp : parsed_log.incoming_rtcp_packets()) { in AnalyzeTransmissionGaps() local
160 if (rtcp.log_time_us() > segment_end_us) { in AnalyzeTransmissionGaps()
164 int64_t duration = rtcp.log_time_us() - last_rtcp_time.value_or(0); in AnalyzeTransmissionGaps()
167 Alert(rtcp_alert, config_.GetCallTimeSec(rtcp.log_time_us()), in AnalyzeTransmissionGaps()
170 last_rtcp_time.emplace(rtcp.log_time_us()); in AnalyzeTransmissionGaps()
173 for (const auto& rtcp : parsed_log.outgoing_rtcp_packets()) { in AnalyzeTransmissionGaps() local
174 if (rtcp.log_time_us() > segment_end_us) { in AnalyzeTransmissionGaps()
178 int64_t duration = rtcp.log_time_us() - last_rtcp_time.value_or(0); in AnalyzeTransmissionGaps()
181 Alert(rtcp_alert, config_.GetCallTimeSec(rtcp.log_time_us()), in AnalyzeTransmissionGaps()
184 last_rtcp_time.emplace(rtcp.log_time_us()); in AnalyzeTransmissionGaps()
/external/libsrtp2/test/
Drtp_decoder.c360 &policy.rtcp); in main()
363 srtp_crypto_policy_set_aes_gcm_128_8_auth(&policy.rtcp); in main()
370 &policy.rtcp); in main()
373 srtp_crypto_policy_set_aes_gcm_256_8_auth(&policy.rtcp); in main()
389 &policy.rtcp); in main()
394 &policy.rtcp); in main()
403 &policy.rtcp); in main()
408 &policy.rtcp); in main()
423 &policy.rtcp); in main()
428 &policy.rtcp); in main()
[all …]
/external/webrtc/modules/congestion_controller/rtp/
Dtransport_feedback_adapter_unittest.cc142 rtcp::TransportFeedback feedback; in TEST_F()
176 rtcp::TransportFeedback feedback; in TEST_F()
207 rtcp::TransportFeedback feedback; in TEST_F()
232 int64_t kHighArrivalTimeMs = rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
247 std::unique_ptr<rtcp::TransportFeedback> feedback( in TEST_F()
248 new rtcp::TransportFeedback()); in TEST_F()
256 feedback = rtcp::TransportFeedback::ParseFrom(raw_packet.data(), in TEST_F()
277 rtcp::TransportFeedback feedback; in TEST_F()
299 TimeDelta::Micros(rtcp::TransportFeedback::kDeltaScaleFactor * 0xFF) in TEST_F()
302 TimeDelta::Micros(rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
[all …]
/external/webrtc/test/fuzzers/corpora/
Dsdp.tokens37 "rtcp"
38 "rtcp-fb"
39 "rtcp-mux"
40 "rtcp-rsize"

12345678