Home
last modified time | relevance | path

Searched refs:kRemoteSsrc (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack_unittest.cc30 constexpr uint32_t kRemoteSsrc = 0x23456789; variable
63 nack.SetMediaSsrc(kRemoteSsrc); in TEST()
78 EXPECT_EQ(kRemoteSsrc, const_parsed.media_ssrc()); in TEST()
85 nack.SetMediaSsrc(kRemoteSsrc); in TEST()
99 EXPECT_EQ(kRemoteSsrc, parsed.media_ssrc()); in TEST()
110 nack.SetMediaSsrc(kRemoteSsrc); in TEST()
119 EXPECT_EQ(kRemoteSsrc, parsed.media_ssrc()); in TEST()
128 nack.SetMediaSsrc(kRemoteSsrc); in TEST()
139 EXPECT_EQ(kRemoteSsrc, nack.media_ssrc()); in TEST()
146 EXPECT_EQ(kRemoteSsrc, nack.media_ssrc()); in TEST()
[all …]
Dtmmbr_unittest.cc25 const uint32_t kRemoteSsrc = 0x23456789; variable
36 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST()
51 EXPECT_EQ(kRemoteSsrc, parsed.requests().front().ssrc()); in TEST()
59 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST()
60 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc + 1, 4 * kBitrateBps, kOverhead + 1)); in TEST()
69 EXPECT_EQ(kRemoteSsrc, parsed.requests()[0].ssrc()); in TEST()
70 EXPECT_EQ(kRemoteSsrc + 1, parsed.requests()[1].ssrc()); in TEST()
Dsender_report_unittest.cc27 const uint32_t kRemoteSsrc = 0x23456789; variable
64 rb.SetMediaSsrc(kRemoteSsrc); in TEST()
76 EXPECT_EQ(kRemoteSsrc, parsed.report_blocks()[0].source_ssrc()); in TEST()
81 rb1.SetMediaSsrc(kRemoteSsrc); in TEST()
83 rb2.SetMediaSsrc(kRemoteSsrc + 1); in TEST()
96 EXPECT_EQ(kRemoteSsrc, parsed.report_blocks()[0].source_ssrc()); in TEST()
97 EXPECT_EQ(kRemoteSsrc + 1, parsed.report_blocks()[1].source_ssrc()); in TEST()
105 rb.SetMediaSsrc(kRemoteSsrc + i); in TEST()
108 rb.SetMediaSsrc(kRemoteSsrc + SenderReport::kMaxNumberOfReportBlocks); in TEST()
Dfir_unittest.cc29 constexpr uint32_t kRemoteSsrc = 0x23456789; variable
44 ElementsAre(AllOf(Field(&Fir::Request::ssrc, Eq(kRemoteSsrc)), in TEST()
51 fir.AddRequestTo(kRemoteSsrc, kSeqNr); in TEST()
62 fir.AddRequestTo(kRemoteSsrc, kSeqNr); in TEST()
63 fir.AddRequestTo(kRemoteSsrc + 1, kSeqNr + 1); in TEST()
71 ElementsAre(AllOf(Field(&Fir::Request::ssrc, Eq(kRemoteSsrc)), in TEST()
73 AllOf(Field(&Fir::Request::ssrc, Eq(kRemoteSsrc + 1)), in TEST()
Dreceiver_report_unittest.cc28 const uint32_t kRemoteSsrc = 0x23456789; variable
52 EXPECT_EQ(kRemoteSsrc, rb.source_ssrc()); in TEST()
72 rb.SetMediaSsrc(kRemoteSsrc); in TEST()
101 rb1.SetMediaSsrc(kRemoteSsrc); in TEST()
103 rb2.SetMediaSsrc(kRemoteSsrc + 1); in TEST()
115 EXPECT_EQ(kRemoteSsrc, parsed.report_blocks()[0].source_ssrc()); in TEST()
116 EXPECT_EQ(kRemoteSsrc + 1, parsed.report_blocks()[1].source_ssrc()); in TEST()
124 rb.SetMediaSsrc(kRemoteSsrc + i); in TEST()
127 rb.SetMediaSsrc(kRemoteSsrc + ReceiverReport::kMaxNumberOfReportBlocks); in TEST()
Dtmmbn_unittest.cc26 const uint32_t kRemoteSsrc = 0x23456789; variable
37 tmmbn.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST()
53 EXPECT_EQ(kRemoteSsrc, parsed.items().front().ssrc()); in TEST()
73 tmmbn.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST()
74 tmmbn.AddTmmbr(TmmbItem(kRemoteSsrc + 1, 4 * kBitrateBps, 40)); in TEST()
82 EXPECT_EQ(kRemoteSsrc, parsed.items()[0].ssrc()); in TEST()
85 EXPECT_EQ(kRemoteSsrc + 1, parsed.items()[1].ssrc()); in TEST()
Dpli_unittest.cc24 const uint32_t kRemoteSsrc = 0x23456789; variable
36 EXPECT_EQ(kRemoteSsrc, parsed.media_ssrc()); in TEST()
42 pli.SetMediaSsrc(kRemoteSsrc); in TEST()
Drapid_resync_request_unittest.cc24 const uint32_t kRemoteSsrc = 0x23456789; variable
36 EXPECT_EQ(kRemoteSsrc, parsed.media_ssrc()); in TEST()
42 rrr.SetMediaSsrc(kRemoteSsrc); in TEST()
Dcompound_packet_unittest.cc36 const uint32_t kRemoteSsrc = 0x23456789; variable
42 fir.AddRequestTo(kRemoteSsrc, kSeqNo); in TEST()
63 fir.AddRequestTo(kRemoteSsrc, kSeqNo); in TEST()
90 fir.AddRequestTo(kRemoteSsrc, kSeqNo); in TEST()
119 fir.AddRequestTo(kRemoteSsrc, kSeqNo); in TEST()
Dreport_block_unittest.cc23 const uint32_t kRemoteSsrc = 0x23456789; variable
55 rb.SetMediaSsrc(kRemoteSsrc); in TEST()
69 EXPECT_EQ(kRemoteSsrc, parsed.source_ssrc()); in TEST()
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_transceiver_impl_unittest.cc543 const uint32_t kRemoteSsrc = 12345; in TEST() local
547 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, &observer1); in TEST()
548 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, &observer2); in TEST()
553 sr.SetSenderSsrc(kRemoteSsrc); in TEST()
558 EXPECT_CALL(observer1, OnSenderReport(kRemoteSsrc, kRemoteNtp, kRemoteRtp)); in TEST()
559 EXPECT_CALL(observer2, OnSenderReport(kRemoteSsrc, kRemoteNtp, kRemoteRtp)); in TEST()
564 const uint32_t kRemoteSsrc = 12345; in TEST() local
568 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, &observer1); in TEST()
569 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, &observer2); in TEST()
572 sr.SetSenderSsrc(kRemoteSsrc); in TEST()
[all …]
Drtcp_sender_unittest.cc68 static const uint32_t kRemoteSsrc = 0x22222222; variable
82 rtcp_sender_->SetRemoteSSRC(kRemoteSsrc); in RtcpSenderTest()
201 rtcp_sender_->SetRemoteSSRC(kRemoteSsrc); in TEST_F()
223 rtcp_sender_->SetRemoteSSRC(kRemoteSsrc); in TEST_F()
243 InsertIncomingPacket(kRemoteSsrc, kSeqNum); in TEST_F()
250 EXPECT_EQ(kRemoteSsrc, rb.source_ssrc()); in TEST_F()
258 InsertIncomingPacket(kRemoteSsrc, kSeqNum); in TEST_F()
259 InsertIncomingPacket(kRemoteSsrc + 1, kSeqNum + 1); in TEST_F()
265 EXPECT_EQ(kRemoteSsrc, in TEST_F()
267 EXPECT_EQ(kRemoteSsrc + 1, in TEST_F()
[all …]
Drtcp_transceiver_unittest.cc164 const uint32_t kRemoteSsrc = 1234; in TEST() local
174 EXPECT_CALL(*observer, OnSenderReport(kRemoteSsrc, _, 1)); in TEST()
175 EXPECT_CALL(*observer, OnSenderReport(kRemoteSsrc, _, 2)).Times(0); in TEST()
177 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, observer.get()); in TEST()
178 rtcp_transceiver.ReceivePacket(CreateSenderReport(kRemoteSsrc, 1)); in TEST()
179 rtcp_transceiver.RemoveMediaReceiverRtcpObserver(kRemoteSsrc, observer.get(), in TEST()
184 rtcp_transceiver.ReceivePacket(CreateSenderReport(kRemoteSsrc, 2)); in TEST()
191 const uint32_t kRemoteSsrc = 1234; in TEST() local
199 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, observer.get()); in TEST()
204 rtcp_transceiver.RemoveMediaReceiverRtcpObserver(kRemoteSsrc, observer.get(), in TEST()
/external/webrtc/audio/voip/test/
Daudio_egress_unittest.cc54 static constexpr uint32_t kRemoteSsrc = 0xDEADBEEF; member in webrtc::__anon7c5499780111::AudioEgressTest
59 rtp_rtcp_ = CreateRtpStack(&fake_clock_, &transport_, kRemoteSsrc); in AudioEgressTest()
262 rtp.Ssrc() == kRemoteSsrc); in TEST_F()
/external/webrtc/audio/
Daudio_receive_stream_unittest.cc54 const uint32_t kRemoteSsrc = 1234; variable
113 stream_config_.rtp.remote_ssrc = kRemoteSsrc; in ConfigHelper()
226 config.rtp.remote_ssrc = kRemoteSsrc; in TEST()
285 EXPECT_EQ(kRemoteSsrc, stats.remote_ssrc); in TEST()
/external/webrtc/video/
Dreceive_statistics_proxy_unittest.cc33 const uint32_t kRemoteSsrc = 456; variable
54 config.rtp.remote_ssrc = kRemoteSsrc; in GetTestConfig()
438 EXPECT_EQ(kRemoteSsrc, statistics_proxy_->GetStats().ssrc); in TEST_F()
503 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc, counter); in TEST_F()
514 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc + 1, counter); in TEST_F()
536 statistics_proxy_->OnCname(kRemoteSsrc, kName); in TEST_F()
542 statistics_proxy_->OnCname(kRemoteSsrc + 1, kName); in TEST_F()
1074 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc, counter); in TEST_F()
1098 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc, counter); in TEST_F()
Dreceive_statistics_proxy2_unittest.cc38 const uint32_t kRemoteSsrc = 456; variable
72 config.rtp.remote_ssrc = kRemoteSsrc; in GetTestConfig()
466 EXPECT_EQ(kRemoteSsrc, statistics_proxy_->GetStats().ssrc); in TEST_F()
533 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc, counter); in TEST_F()
544 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc + 1, counter); in TEST_F()
566 statistics_proxy_->OnCname(kRemoteSsrc, kName); in TEST_F()
572 statistics_proxy_->OnCname(kRemoteSsrc + 1, kName); in TEST_F()
1109 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc, counter); in TEST_F()
1133 statistics_proxy_->RtcpPacketTypesCounterUpdated(kRemoteSsrc, counter); in TEST_F()