Lines Matching refs:capturer
94 // capturer (checking that the engine state is updated and that the capturer
619 // Add an additional capturer, and hook up a renderer to receive it.
621 rtc::scoped_ptr<cricket::FakeVideoCapturer> capturer(
623 capturer->SetScreencast(true);
629 EXPECT_EQ(cricket::CS_RUNNING, capturer->Start(format));
632 EXPECT_TRUE(channel_->SetCapturer(5678, capturer.get()));
636 EXPECT_TRUE(capturer->CaptureCustomFrame(
667 // The capturer must be unregistered here as it runs out of it's scope next.
965 rtc::scoped_ptr<cricket::FakeVideoCapturer> capturer(
967 capturer->SetScreencast(true);
971 EXPECT_EQ(cricket::CS_RUNNING, capturer->Start(format));
974 // associating the capturer with the channel.
975 EXPECT_TRUE(capturer->CaptureCustomFrame(format.width, format.height,
980 EXPECT_TRUE(channel_->SetCapturer(kSsrc, capturer.get()));
982 EXPECT_TRUE(capturer->CaptureCustomFrame(format.width, format.height,
1011 // with the frame capturer to increment the next frame's timestamp.
1012 EXPECT_TRUE(capturer->CaptureCustomFrame(format.width, format.height,
1017 // Tests that if RemoveCapturer is called without a capturer ever being
1029 // Remove the capturer.
1031 // Wait for one black frame for removing the capturer.
1034 // No capturer was added, so this RemoveCapturer should
1042 // Tests that we can add and remove capturer as unique sources.
1086 // Test capturer associated with engine.
1098 // Successfully remove the capturer.
1100 // Fail to re-remove the capturer.
1128 // Registering an external capturer is currently the same as screen casting
1130 rtc::scoped_ptr<cricket::FakeVideoCapturer> capturer(
1132 capturer->SetScreencast(true);
1134 capturer->GetSupportedFormats();
1136 EXPECT_EQ(cricket::CS_RUNNING, capturer->Start(capture_format));
1137 // Capture frame to not get same frame timestamps as previous capturer.
1138 capturer->CaptureFrame();
1139 EXPECT_TRUE(channel_->SetCapturer(kSsrc, capturer.get()));
1141 EXPECT_TRUE(capturer->CaptureCustomFrame(kWidth, kHeight,
1196 // The capturer runs at 30 fps. The channel requires 30 fps.