Lines Matching refs:kSsrc

65 static const uint32_t kSsrc = 1234u;  variable
139 return cricket::StreamParams::CreateLegacy(kSsrc); in DefaultSendStreamParams()
160 EXPECT_TRUE(channel_->SetCapturer(kSsrc, video_capturer_.get())); in SetUp()
173 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStream()
175 EXPECT_TRUE(channel_->SetRenderer(kSsrc + 2, &renderer2_)); in SetUpSecondStream()
182 cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv()
183 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in SetUpSecondStreamWithNoRecv()
185 cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv()
187 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStreamWithNoRecv()
197 EXPECT_TRUE(channel_->SetCapturer(kSsrc + 2, video_capturer_2_.get())); in SetUpSecondStreamWithNoRecv()
414 EXPECT_TRUE(channel_->SetCapturer(kSsrc, video_capturer_.get())); in SetSend()
611 cricket::StreamParams::CreateLegacy(kSsrc))); in GetStatsMultipleSendStreams()
612 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in GetStatsMultipleSendStreams()
683 EXPECT_TRUE(SetSendStreamFormat(kSsrc, DefaultCodec())); in SetSendSsrc()
690 EXPECT_EQ(kSsrc, ssrc); in SetSendSsrc()
696 EXPECT_EQ(0, NumRtpPackets(kSsrc - 1)); in SetSendSsrc()
697 EXPECT_EQ(0, NumRtpBytes(kSsrc - 1)); in SetSendSsrc()
702 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in SetSendSsrcAfterSetCodecs()
720 EXPECT_EQ(0, NumRtpPackets(kSsrc)); in SetSendSsrcAfterSetCodecs()
721 EXPECT_EQ(0, NumRtpBytes(kSsrc)); in SetSendSsrcAfterSetCodecs()
730 rtc::SetBE32(packet1.data() + 8, kSsrc); in SetRenderer()
744 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in RejectEmptyStreamParams()
765 EXPECT_EQ(kSsrc, ssrc); in AddRemoveSendStreams()
768 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in AddRemoveSendStreams()
882 cricket::StreamParams::CreateLegacy(kSsrc))); in AddRemoveRecvStreamAndRender()
883 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer1)); in AddRemoveRecvStreamAndRender()
888 EXPECT_TRUE(channel_->RemoveRecvStream(kSsrc)); in AddRemoveRecvStreamAndRender()
899 cricket::StreamParams::CreateLegacy(kSsrc))); in AddRemoveRecvStreamAndRender()
904 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer1)); in AddRemoveRecvStreamAndRender()
913 EXPECT_TRUE(channel_->SetRenderer(kSsrc, NULL)); in AddRemoveRecvStreamAndRender()
980 EXPECT_TRUE(channel_->SetCapturer(kSsrc, capturer.get())); in AddRemoveCapturer()
995 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in AddRemoveCapturer()
1030 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in RemoveCapturerWithoutAdd()
1036 EXPECT_FALSE(channel_->SetCapturer(kSsrc, NULL)); in RemoveCapturerWithoutAdd()
1050 cricket::StreamParams::CreateLegacy(kSsrc))); in AddRemoveCapturerMultipleSources()
1051 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in AddRemoveCapturerMultipleSources()
1099 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in AddRemoveCapturerMultipleSources()
1101 EXPECT_FALSE(channel_->SetCapturer(kSsrc, NULL)); in AddRemoveCapturerMultipleSources()
1120 cricket::StreamParams::CreateLegacy(kSsrc))); in HighAspectHighHeightCapturer()
1121 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer)); in HighAspectHighHeightCapturer()
1139 EXPECT_TRUE(channel_->SetCapturer(kSsrc, capturer.get())); in HighAspectHighHeightCapturer()
1145 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in HighAspectHighHeightCapturer()
1269 EXPECT_FALSE(channel_->SetSendStreamFormat(kSsrc - 1, format)); in SetSendStreamFormat()
1270 EXPECT_TRUE(channel_->SetSendStreamFormat(kSsrc, format)); in SetSendStreamFormat()
1281 EXPECT_TRUE(channel_->SetSendStreamFormat(kSsrc, format)); in SetSendStreamFormat()
1291 EXPECT_TRUE(SetSendStreamFormat(kSsrc, DefaultCodec())); in SetSendStreamFormat0x0()
1305 EXPECT_TRUE(channel_->SetSendStreamFormat(kSsrc, format)); in SetSendStreamFormat0x0()
1322 EXPECT_TRUE(channel_->SetCapturer(kSsrc, &video_capturer)); in MuteStream()
1328 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, false, nullptr)); in MuteStream()
1334 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, true, nullptr)); in MuteStream()
1341 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, false, nullptr)); in MuteStream()
1347 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, true, nullptr)); in MuteStream()
1354 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, false, nullptr)); in MuteStream()
1355 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, false, nullptr)); in MuteStream()
1357 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, true, nullptr)); in MuteStream()
1358 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, true, nullptr)); in MuteStream()
1360 EXPECT_FALSE(channel_->SetVideoSend(kSsrc+1, false, nullptr)); in MuteStream()
1361 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in MuteStream()
1368 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in MultipleSendStreams()
1402 EXPECT_EQ(kSsrc, channel_->GetDefaultSendChannelSsrc()); in TwoStreamsReUseFirstStream()
1403 EXPECT_TRUE(channel_->RemoveRecvStream(kSsrc)); in TwoStreamsReUseFirstStream()
1404 EXPECT_FALSE(channel_->RemoveRecvStream(kSsrc)); in TwoStreamsReUseFirstStream()
1405 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in TwoStreamsReUseFirstStream()
1406 EXPECT_FALSE(channel_->RemoveSendStream(kSsrc)); in TwoStreamsReUseFirstStream()
1409 uint32_t new_ssrc = kSsrc + 100; in TwoStreamsReUseFirstStream()
1448 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in TwoStreamsSendAndUnsignalledRecv()
1449 EXPECT_TRUE(channel_->SetRenderer(kSsrc + 2, &renderer2_)); in TwoStreamsSendAndUnsignalledRecv()
1482 EXPECT_TRUE(channel_->RemoveRecvStream(kSsrc + 2)); in TwoStreamsAddAndRemoveUnsignalledRecv()