Lines Matching refs:kSsrc
87 static const uint32_t kSsrc = 1234u; variable
378 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
392 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &video_source)); in TEST_F()
422 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
428 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &video_source)); in TEST_F()
439 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
445 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &video_source)); in TEST_F()
509 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
515 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &frame_forwarder)); in TEST_F()
533 EXPECT_TRUE(channel->RemoveSendStream(kSsrc)); in TEST_F()
585 channel->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
597 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
602 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &frame_forwarder)); in TEST_F()
640 EXPECT_TRUE(channel->RemoveSendStream(kSsrc)); in TEST_F()
804 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
805 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &frame_forwarder)); in TEST_F()
870 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
876 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &frame_forwarder)); in TEST_F()
995 channel->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
1003 EXPECT_TRUE(channel->RemoveRecvStream(kSsrc)); in TEST_F()
1021 channel->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
1036 channel->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
1039 std::vector<webrtc::RtpSource> sources = channel->GetSources(kSsrc + 1); in TEST_F()
1253 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
1265 EXPECT_TRUE(channel->SetVideoSend(kSsrc, &options, &frame_forwarder)); in TEST_F()
1272 EXPECT_TRUE(channel->SetVideoSend(kSsrc, &options, &frame_forwarder)); in TEST_F()
1278 EXPECT_TRUE(channel->SetVideoSend(kSsrc, &options, &frame_forwarder)); in TEST_F()
1287 EXPECT_TRUE(channel->SetVideoSend(kSsrc, &options, &frame_forwarder)); in TEST_F()
1294 EXPECT_TRUE(channel->SetVideoSend(kSsrc, &options, &frame_forwarder)); in TEST_F()
1303 EXPECT_TRUE(channel->RemoveSendStream(kSsrc)); in TEST_F()
1385 cricket::StreamParams::CreateLegacy(kSsrc), /*is_default_stream=*/true)); in TEST_F()
1388 EXPECT_TRUE(channel_->SetSink(kSsrc, &renderer_)); in TEST_F()
1389 DeliverKeyFrame(kSsrc); in TEST_F()
1392 channel_->RemoveRecvStream(kSsrc); in TEST_F()
1400 cricket::StreamParams::CreateLegacy(kSsrc), /*is_default_stream=*/true)); in TEST_F()
1401 EXPECT_TRUE(channel_->SetSink(kSsrc, &renderer_)); in TEST_F()
1402 channel_->SetRecordableEncodedFrameCallback(kSsrc, callback.AsStdFunction()); in TEST_F()
1403 DeliverKeyFrame(kSsrc); in TEST_F()
1406 channel_->RemoveRecvStream(kSsrc); in TEST_F()
1414 cricket::StreamParams::CreateLegacy(kSsrc), /*is_default_stream=*/false)); in TEST_F()
1415 EXPECT_TRUE(channel_->SetSink(kSsrc, &renderer_)); in TEST_F()
1416 channel_->SetRecordableEncodedFrameCallback(kSsrc, callback.AsStdFunction()); in TEST_F()
1417 DeliverKeyFrame(kSsrc); in TEST_F()
1420 channel_->RemoveRecvStream(kSsrc); in TEST_F()
1429 channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc + 1), in TEST_F()
1431 EXPECT_TRUE(channel_->SetSink(kSsrc + 1, &renderer_)); in TEST_F()
1432 channel_->SetRecordableEncodedFrameCallback(kSsrc, callback.AsStdFunction()); in TEST_F()
1433 DeliverKeyFrame(kSsrc); // Expected to not cause function to fire. in TEST_F()
1434 DeliverKeyFrameAndWait(kSsrc + 1); in TEST_F()
1435 channel_->RemoveRecvStream(kSsrc + 1); in TEST_F()
1444 channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc + 1), in TEST_F()
1446 EXPECT_TRUE(channel_->SetSink(kSsrc + 1, &renderer_)); in TEST_F()
1447 channel_->SetRecordableEncodedFrameCallback(kSsrc, callback.AsStdFunction()); in TEST_F()
1448 DeliverKeyFrame(kSsrc); // Expected to not cause function to fire. in TEST_F()
1449 DeliverKeyFrameAndWait(kSsrc + 1); in TEST_F()
1450 channel_->RemoveRecvStream(kSsrc + 1); in TEST_F()
1491 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, nullptr, frame_forwarder_.get())); in SetUp()
1500 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStream()
1502 EXPECT_TRUE(channel_->SetSink(kSsrc + 2, &renderer2_)); in SetUpSecondStream()
1509 channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv()
1510 EXPECT_TRUE(channel_->SetSink(kSsrc, &renderer_)); in SetUpSecondStreamWithNoRecv()
1512 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv()
1514 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStreamWithNoRecv()
1520 channel_->SetVideoSend(kSsrc + 2, nullptr, frame_forwarder_2_.get())); in SetUpSecondStreamWithNoRecv()
1645 return cricket::StreamParams::CreateLegacy(kSsrc); in DefaultSendStreamParams()
1671 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, nullptr, frame_forwarder_.get())); in TEST_F()
1871 channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
1872 EXPECT_TRUE(channel_->SetSink(kSsrc, &renderer_)); in TEST_F()
1944 EXPECT_EQ(kSsrc, header.ssrc); in TEST_F()
1951 EXPECT_EQ(0, NumRtpPackets(kSsrc - 1)); in TEST_F()
1952 EXPECT_EQ(0, NumRtpBytes(kSsrc - 1)); in TEST_F()
1958 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in TEST_F()
1975 EXPECT_EQ(0, NumRtpPackets(kSsrc)); in TEST_F()
1976 EXPECT_EQ(0, NumRtpBytes(kSsrc)); in TEST_F()
1986 rtc::SetBE32(packet1.data() + 8, kSsrc); in TEST_F()
2010 EXPECT_EQ(kSsrc, header.ssrc); in TEST_F()
2013 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in TEST_F()
2090 channel_->SetVideoSend(kSsrc, &video_options, nullptr); in TEST_F()
2094 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, nullptr, &frame_forwarder)); in TEST_F()
2109 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, nullptr, nullptr)); in TEST_F()
2144 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, nullptr, nullptr)); in TEST_F()
2147 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, nullptr, nullptr)); in TEST_F()
2161 channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
2162 EXPECT_TRUE(channel_->SetSink(kSsrc, &renderer_)); in TEST_F()
2208 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, nullptr, nullptr)); in TEST_F()
2218 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in TEST_F()
2230 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in TEST_F()
2509 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TestExtmapAllowMixedCaller()
2522 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TestExtmapAllowMixedCallee()
5081 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
5082 parameters = channel->GetRtpSendParameters(kSsrc); in TEST_F()
5087 ASSERT_TRUE(channel->SetRtpSendParameters(kSsrc, parameters).ok()); in TEST_F()
5090 ASSERT_TRUE(channel->SetRtpSendParameters(kSsrc, parameters).ok()); in TEST_F()
6275 EXPECT_FALSE(channel_->SetBaseMinimumPlayoutDelayMs(kSsrc + 2, 200)); in TEST_F()
6277 EXPECT_FALSE(channel_->GetBaseMinimumPlayoutDelayMs(kSsrc + 2)); in TEST_F()
7896 StreamParams params = StreamParams::CreateLegacy(kSsrc); in TEST_F()
7900 webrtc::RtpParameters rtp_parameters = channel_->GetRtpSendParameters(kSsrc); in TEST_F()
8353 EXPECT_THAT(channel_->GetSources(kSsrc), IsEmpty()); in TEST_F()
8364 EXPECT_THAT(channel_->GetSources(kSsrc - 1), IsEmpty()); in TEST_F()
8365 EXPECT_THAT(channel_->GetSources(kSsrc), SizeIs(1)); in TEST_F()
8366 EXPECT_THAT(channel_->GetSources(kSsrc + 1), IsEmpty()); in TEST_F()
8368 webrtc::RtpSource source = channel_->GetSources(kSsrc)[0]; in TEST_F()
8369 EXPECT_EQ(source.source_id(), kSsrc); in TEST_F()
8378 EXPECT_THAT(channel_->GetSources(kSsrc - 1), IsEmpty()); in TEST_F()
8379 EXPECT_THAT(channel_->GetSources(kSsrc), SizeIs(1)); in TEST_F()
8380 EXPECT_THAT(channel_->GetSources(kSsrc + 1), IsEmpty()); in TEST_F()
8382 source = channel_->GetSources(kSsrc)[0]; in TEST_F()
8383 EXPECT_EQ(source.source_id(), kSsrc); in TEST_F()