Home | History | Annotate | Download | only in base

Lines Matching refs:kSsrc

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