Lines Matching refs:EXPECT_TRUE

147     EXPECT_TRUE(channel_.get() != NULL);  in SetUp()
154 EXPECT_TRUE(channel_->AddSendStream(DefaultSendStreamParams())); in SetUp()
160 EXPECT_TRUE(channel_->SetCapturer(kSsrc, video_capturer_.get())); in SetUp()
172 EXPECT_TRUE(channel_->AddRecvStream( in SetUpSecondStream()
175 EXPECT_TRUE(channel_->SetRenderer(kSsrc + 2, &renderer2_)); in SetUpSecondStream()
181 EXPECT_TRUE(channel_->AddRecvStream( in SetUpSecondStreamWithNoRecv()
183 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in SetUpSecondStreamWithNoRecv()
186 EXPECT_TRUE(channel_->AddSendStream( in SetUpSecondStreamWithNoRecv()
197 EXPECT_TRUE(channel_->SetCapturer(kSsrc + 2, video_capturer_2_.get())); in SetUpSecondStreamWithNoRecv()
272 EXPECT_TRUE(WaitAndSendFrame(66)); in WaitForDecoder()
414 EXPECT_TRUE(channel_->SetCapturer(kSsrc, video_capturer_.get())); in SetSend()
415 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in SetSend()
417 EXPECT_TRUE(SetSend(true)); in SetSend()
418 EXPECT_TRUE(channel_->sending()); in SetSend()
419 EXPECT_TRUE(SendFrame()); in SetSend()
421 EXPECT_TRUE(SetSend(false)); in SetSend()
433 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in SetSendSetsTransportBufferSizes()
434 EXPECT_TRUE(SetSend(true)); in SetSendSetsTransportBufferSizes()
440 EXPECT_TRUE(SetOneCodec(codec)); in Send()
441 EXPECT_TRUE(SetSend(true)); in Send()
442 EXPECT_TRUE(SendFrame()); in Send()
449 EXPECT_TRUE(SetOneCodec(codec)); in SendAndReceive()
450 EXPECT_TRUE(SetSend(true)); in SendAndReceive()
451 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendAndReceive()
453 EXPECT_TRUE(SendFrame()); in SendAndReceive()
461 EXPECT_TRUE(SetOneCodec(codec)); in SendManyResizeOnce()
462 EXPECT_TRUE(SetSend(true)); in SendManyResizeOnce()
463 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendManyResizeOnce()
465 EXPECT_TRUE(WaitAndSendFrame(30)); in SendManyResizeOnce()
467 EXPECT_TRUE(WaitAndSendFrame(30)); in SendManyResizeOnce()
475 EXPECT_TRUE(SetOneCodec(codec)); in SendManyResizeOnce()
476 EXPECT_TRUE(WaitAndSendFrame(30)); in SendManyResizeOnce()
482 EXPECT_TRUE(SetOneCodec(codec)); in SendReceiveManyAndGetStats()
483 EXPECT_TRUE(SetSend(true)); in SendReceiveManyAndGetStats()
484 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendReceiveManyAndGetStats()
488 EXPECT_TRUE(WaitAndSendFrame(1000 / fps)); in SendReceiveManyAndGetStats()
503 EXPECT_TRUE(channel_->GetStats(&info)); in GetStats()
541 EXPECT_TRUE(channel_->GetStats(&info)); in GetSenderStats()
547 EXPECT_TRUE(channel_->GetStats(&info)); in GetReceiverStats()
554 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in GetStatsMultipleRecvStreams()
558 EXPECT_TRUE(channel_->SetSendParameters(parameters)); in GetStatsMultipleRecvStreams()
559 EXPECT_TRUE(SetSend(true)); in GetStatsMultipleRecvStreams()
560 EXPECT_TRUE(channel_->AddRecvStream( in GetStatsMultipleRecvStreams()
562 EXPECT_TRUE(channel_->AddRecvStream( in GetStatsMultipleRecvStreams()
564 EXPECT_TRUE(channel_->SetRenderer(1, &renderer1)); in GetStatsMultipleRecvStreams()
565 EXPECT_TRUE(channel_->SetRenderer(2, &renderer2)); in GetStatsMultipleRecvStreams()
572 EXPECT_TRUE(SendFrame()); in GetStatsMultipleRecvStreams()
578 EXPECT_TRUE(channel_->SetSend(false)); in GetStatsMultipleRecvStreams()
581 EXPECT_TRUE(channel_->GetStats(&info)); in GetStatsMultipleRecvStreams()
605 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in GetStatsMultipleSendStreams()
609 EXPECT_TRUE(channel_->SetSendParameters(parameters)); in GetStatsMultipleSendStreams()
610 EXPECT_TRUE(channel_->AddRecvStream( in GetStatsMultipleSendStreams()
612 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in GetStatsMultipleSendStreams()
614 EXPECT_TRUE(SetSend(true)); in GetStatsMultipleSendStreams()
615 EXPECT_TRUE(SendFrame()); in GetStatsMultipleSendStreams()
630 EXPECT_TRUE(channel_->AddSendStream( in GetStatsMultipleSendStreams()
632 EXPECT_TRUE(channel_->SetCapturer(5678, capturer.get())); in GetStatsMultipleSendStreams()
633 EXPECT_TRUE(channel_->AddRecvStream( in GetStatsMultipleSendStreams()
635 EXPECT_TRUE(channel_->SetRenderer(5678, &renderer2)); in GetStatsMultipleSendStreams()
636 EXPECT_TRUE(capturer->CaptureCustomFrame( in GetStatsMultipleSendStreams()
647 EXPECT_TRUE(channel_->GetStats(&info)); in GetStatsMultipleSendStreams()
668 EXPECT_TRUE(channel_->SetCapturer(5678, NULL)); in GetStatsMultipleSendStreams()
676 EXPECT_TRUE(channel_->SetSendParameters(parameters)); in SetSendBandwidth()
678 EXPECT_TRUE(channel_->SetSendParameters(parameters)); in SetSendBandwidth()
682 EXPECT_TRUE(SetDefaultCodec()); in SetSendSsrc()
683 EXPECT_TRUE(SetSendStreamFormat(kSsrc, DefaultCodec())); in SetSendSsrc()
684 EXPECT_TRUE(SetSend(true)); in SetSendSsrc()
685 EXPECT_TRUE(SendFrame()); in SetSendSsrc()
702 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in SetSendSsrcAfterSetCodecs()
703 EXPECT_TRUE(SetDefaultCodec()); in SetSendSsrcAfterSetCodecs()
704 EXPECT_TRUE(channel_->AddSendStream( in SetSendSsrcAfterSetCodecs()
706 EXPECT_TRUE(channel_->SetCapturer(999u, video_capturer_.get())); in SetSendSsrcAfterSetCodecs()
707 EXPECT_TRUE(SetSendStreamFormat(999u, DefaultCodec())); in SetSendSsrcAfterSetCodecs()
708 EXPECT_TRUE(SetSend(true)); in SetSendSsrcAfterSetCodecs()
709 EXPECT_TRUE(WaitAndSendFrame(0)); in SetSendSsrcAfterSetCodecs()
732 EXPECT_TRUE(SetDefaultCodec()); in SetRenderer()
733 EXPECT_TRUE(SetSend(true)); in SetRenderer()
736 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SetRenderer()
737 EXPECT_TRUE(SendFrame()); in SetRenderer()
744 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in RejectEmptyStreamParams()
748 EXPECT_TRUE(channel_->AddSendStream( in RejectEmptyStreamParams()
754 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in AddRemoveSendStreams()
755 EXPECT_TRUE(SetSend(true)); in AddRemoveSendStreams()
756 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AddRemoveSendStreams()
757 EXPECT_TRUE(SendFrame()); in AddRemoveSendStreams()
768 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in AddRemoveSendStreams()
771 EXPECT_TRUE(channel_->AddSendStream( in AddRemoveSendStreams()
773 EXPECT_TRUE(channel_->SetCapturer(789u, video_capturer_.get())); in AddRemoveSendStreams()
776 EXPECT_TRUE(WaitAndSendFrame(30)); in AddRemoveSendStreams()
790 EXPECT_TRUE(channel_->SetSendParameters(parameters)); in AddRemoveRecvStreams()
800 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveRecvStreams()
802 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveRecvStreams()
804 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams()
805 EXPECT_TRUE(renderer == NULL); in AddRemoveRecvStreams()
806 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams()
807 EXPECT_TRUE(NULL == renderer); in AddRemoveRecvStreams()
810 EXPECT_TRUE(channel_->SetRenderer(1, &renderer1)); in AddRemoveRecvStreams()
811 EXPECT_TRUE(channel_->SetRenderer(2, &renderer2)); in AddRemoveRecvStreams()
812 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams()
813 EXPECT_TRUE(&renderer1 == renderer); in AddRemoveRecvStreams()
814 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams()
815 EXPECT_TRUE(&renderer2 == renderer); in AddRemoveRecvStreams()
818 EXPECT_TRUE(channel_->SetRenderer(1, &renderer2)); in AddRemoveRecvStreams()
819 EXPECT_TRUE(channel_->SetRenderer(2, &renderer1)); in AddRemoveRecvStreams()
820 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams()
821 EXPECT_TRUE(&renderer2 == renderer); in AddRemoveRecvStreams()
822 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams()
823 EXPECT_TRUE(&renderer1 == renderer); in AddRemoveRecvStreams()
825 EXPECT_TRUE(channel_->RemoveRecvStream(2)); in AddRemoveRecvStreams()
826 EXPECT_TRUE(channel_->RemoveRecvStream(1)); in AddRemoveRecvStreams()
843 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveRecvStreamsNoConference()
845 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveRecvStreamsNoConference()
847 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreamsNoConference()
849 EXPECT_TRUE(renderer == NULL); in AddRemoveRecvStreamsNoConference()
850 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreamsNoConference()
851 EXPECT_TRUE(NULL == renderer); in AddRemoveRecvStreamsNoConference()
854 EXPECT_TRUE(channel_->SetRenderer(1, &renderer1)); in AddRemoveRecvStreamsNoConference()
855 EXPECT_TRUE(channel_->SetRenderer(2, &renderer2)); in AddRemoveRecvStreamsNoConference()
856 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreamsNoConference()
857 EXPECT_TRUE(&renderer1 == renderer); in AddRemoveRecvStreamsNoConference()
858 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreamsNoConference()
859 EXPECT_TRUE(&renderer2 == renderer); in AddRemoveRecvStreamsNoConference()
862 EXPECT_TRUE(channel_->SetRenderer(1, &renderer2)); in AddRemoveRecvStreamsNoConference()
863 EXPECT_TRUE(channel_->SetRenderer(2, &renderer1)); in AddRemoveRecvStreamsNoConference()
864 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreamsNoConference()
865 EXPECT_TRUE(&renderer2 == renderer); in AddRemoveRecvStreamsNoConference()
866 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreamsNoConference()
867 EXPECT_TRUE(&renderer1 == renderer); in AddRemoveRecvStreamsNoConference()
869 EXPECT_TRUE(channel_->RemoveRecvStream(2)); in AddRemoveRecvStreamsNoConference()
870 EXPECT_TRUE(channel_->RemoveRecvStream(1)); in AddRemoveRecvStreamsNoConference()
879 EXPECT_TRUE(SetDefaultCodec()); in AddRemoveRecvStreamAndRender()
880 EXPECT_TRUE(SetSend(true)); in AddRemoveRecvStreamAndRender()
881 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveRecvStreamAndRender()
883 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer1)); in AddRemoveRecvStreamAndRender()
885 EXPECT_TRUE(SendFrame()); in AddRemoveRecvStreamAndRender()
888 EXPECT_TRUE(channel_->RemoveRecvStream(kSsrc)); in AddRemoveRecvStreamAndRender()
892 EXPECT_TRUE(WaitAndSendFrame(100)); in AddRemoveRecvStreamAndRender()
898 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveRecvStreamAndRender()
902 EXPECT_TRUE(channel_->SendIntraFrame()); in AddRemoveRecvStreamAndRender()
904 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer1)); in AddRemoveRecvStreamAndRender()
905 EXPECT_TRUE(SendFrame()); in AddRemoveRecvStreamAndRender()
913 EXPECT_TRUE(channel_->SetRenderer(kSsrc, NULL)); in AddRemoveRecvStreamAndRender()
919 EXPECT_TRUE(SetDefaultCodec()); in SimulateConference()
923 EXPECT_TRUE(channel_->SetSendParameters(parameters)); in SimulateConference()
924 EXPECT_TRUE(SetSend(true)); in SimulateConference()
925 EXPECT_TRUE(channel_->AddRecvStream( in SimulateConference()
927 EXPECT_TRUE(channel_->AddRecvStream( in SimulateConference()
929 EXPECT_TRUE(channel_->SetRenderer(1, &renderer1)); in SimulateConference()
930 EXPECT_TRUE(channel_->SetRenderer(2, &renderer2)); in SimulateConference()
937 EXPECT_TRUE(SendFrame()); in SimulateConference()
949 EXPECT_TRUE(channel_->RemoveRecvStream(2)); in SimulateConference()
950 EXPECT_TRUE(channel_->RemoveRecvStream(1)); in SimulateConference()
959 EXPECT_TRUE(SetOneCodec(codec)); in AddRemoveCapturer()
960 EXPECT_TRUE(SetSend(true)); in AddRemoveCapturer()
961 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AddRemoveCapturer()
963 EXPECT_TRUE(SendFrame()); in AddRemoveCapturer()
975 EXPECT_TRUE(capturer->CaptureCustomFrame(format.width, format.height, in AddRemoveCapturer()
980 EXPECT_TRUE(channel_->SetCapturer(kSsrc, capturer.get())); in AddRemoveCapturer()
982 EXPECT_TRUE(capturer->CaptureCustomFrame(format.width, format.height, in AddRemoveCapturer()
995 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in AddRemoveCapturer()
1006 EXPECT_TRUE(renderer_.black_frame()); in AddRemoveCapturer()
1012 EXPECT_TRUE(capturer->CaptureCustomFrame(format.width, format.height, in AddRemoveCapturer()
1020 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in RemoveCapturerWithoutAdd()
1021 EXPECT_TRUE(SetSend(true)); in RemoveCapturerWithoutAdd()
1022 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in RemoveCapturerWithoutAdd()
1024 EXPECT_TRUE(SendFrame()); in RemoveCapturerWithoutAdd()
1030 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in RemoveCapturerWithoutAdd()
1049 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveCapturerMultipleSources()
1051 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in AddRemoveCapturerMultipleSources()
1057 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveCapturerMultipleSources()
1059 EXPECT_TRUE(channel_->SetRenderer(1, &renderer1)); in AddRemoveCapturerMultipleSources()
1060 EXPECT_TRUE(channel_->AddSendStream( in AddRemoveCapturerMultipleSources()
1069 EXPECT_TRUE(channel_->AddRecvStream( in AddRemoveCapturerMultipleSources()
1071 EXPECT_TRUE(channel_->SetRenderer(2, &renderer2)); in AddRemoveCapturerMultipleSources()
1072 EXPECT_TRUE(channel_->AddSendStream( in AddRemoveCapturerMultipleSources()
1079 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in AddRemoveCapturerMultipleSources()
1083 EXPECT_TRUE(channel_->SetCapturer(1, capturer1.get())); in AddRemoveCapturerMultipleSources()
1084 EXPECT_TRUE(channel_->SetCapturer(2, capturer2.get())); in AddRemoveCapturerMultipleSources()
1085 EXPECT_TRUE(SetSend(true)); in AddRemoveCapturerMultipleSources()
1089 EXPECT_TRUE(capturer1->CaptureCustomFrame( in AddRemoveCapturerMultipleSources()
1094 EXPECT_TRUE(capturer2->CaptureCustomFrame( in AddRemoveCapturerMultipleSources()
1099 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in AddRemoveCapturerMultipleSources()
1104 EXPECT_TRUE(channel_->SetCapturer(1, NULL)); in AddRemoveCapturerMultipleSources()
1105 EXPECT_TRUE(channel_->SetCapturer(2, NULL)); in AddRemoveCapturerMultipleSources()
1115 EXPECT_TRUE(SetOneCodec(codec)); in HighAspectHighHeightCapturer()
1116 EXPECT_TRUE(SetSend(true)); in HighAspectHighHeightCapturer()
1119 EXPECT_TRUE(channel_->AddRecvStream( in HighAspectHighHeightCapturer()
1121 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer)); in HighAspectHighHeightCapturer()
1124 EXPECT_TRUE(SendFrame()); in HighAspectHighHeightCapturer()
1139 EXPECT_TRUE(channel_->SetCapturer(kSsrc, capturer.get())); in HighAspectHighHeightCapturer()
1140 EXPECT_TRUE(rtc::Thread::Current()->ProcessMessages(30)); in HighAspectHighHeightCapturer()
1141 EXPECT_TRUE(capturer->CaptureCustomFrame(kWidth, kHeight, in HighAspectHighHeightCapturer()
1145 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in HighAspectHighHeightCapturer()
1150 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AdaptResolution16x10()
1158 EXPECT_TRUE(SetOneCodec(codec)); in AdaptResolution16x10()
1159 EXPECT_TRUE(WaitAndSendFrame(30)); in AdaptResolution16x10()
1164 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AdaptResolution4x3()
1172 EXPECT_TRUE(SetOneCodec(codec)); in AdaptResolution4x3()
1173 EXPECT_TRUE(WaitAndSendFrame(30)); in AdaptResolution4x3()
1182 EXPECT_TRUE(SetOneCodec(codec)); in AdaptDropAllFrames()
1183 EXPECT_TRUE(SetSend(true)); in AdaptDropAllFrames()
1184 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AdaptDropAllFrames()
1186 EXPECT_TRUE(SendFrame()); in AdaptDropAllFrames()
1187 EXPECT_TRUE(SendFrame()); in AdaptDropAllFrames()
1197 EXPECT_TRUE(SetOneCodec(codec)); in AdaptFramerate()
1198 EXPECT_TRUE(SetSend(true)); in AdaptFramerate()
1200 EXPECT_TRUE(WaitAndSendFrame(0)); // Should be rendered. in AdaptFramerate()
1201 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be rendered. in AdaptFramerate()
1209 EXPECT_TRUE(SetOneCodec(codec)); in AdaptFramerate()
1210 EXPECT_TRUE(WaitAndSendFrame(0)); // Should be rendered. in AdaptFramerate()
1211 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be dropped. in AdaptFramerate()
1212 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be rendered. in AdaptFramerate()
1218 EXPECT_TRUE(SetOneCodec(codec)); in AdaptFramerate()
1219 EXPECT_TRUE(WaitAndSendFrame(0)); // Should be rendered. in AdaptFramerate()
1220 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be dropped. in AdaptFramerate()
1221 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be dropped. in AdaptFramerate()
1222 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be rendered. in AdaptFramerate()
1229 EXPECT_TRUE(SetOneCodec(codec)); in AdaptFramerate()
1230 EXPECT_TRUE(WaitAndSendFrame(0)); // Should be rendered. in AdaptFramerate()
1231 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be dropped. in AdaptFramerate()
1232 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be dropped. in AdaptFramerate()
1233 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be rendered. in AdaptFramerate()
1242 EXPECT_TRUE(SetOneCodec(codec)); in SendsLowerResolutionOnSmallerFrames()
1243 EXPECT_TRUE(SetSend(true)); in SendsLowerResolutionOnSmallerFrames()
1244 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendsLowerResolutionOnSmallerFrames()
1246 EXPECT_TRUE(SendFrame()); in SendsLowerResolutionOnSmallerFrames()
1250 EXPECT_TRUE(rtc::Thread::Current()->ProcessMessages(33)); in SendsLowerResolutionOnSmallerFrames()
1251 EXPECT_TRUE(video_capturer_->CaptureCustomFrame( in SendsLowerResolutionOnSmallerFrames()
1270 EXPECT_TRUE(channel_->SetSendStreamFormat(kSsrc, format)); in SetSendStreamFormat()
1272 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be dropped. in SetSendStreamFormat()
1273 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be rendered. in SetSendStreamFormat()
1274 EXPECT_TRUE(WaitAndSendFrame(30)); // Should be dropped. in SetSendStreamFormat()
1281 EXPECT_TRUE(channel_->SetSendStreamFormat(kSsrc, format)); in SetSendStreamFormat()
1282 EXPECT_TRUE(SendFrame()); in SetSendStreamFormat()
1283 EXPECT_TRUE(SendFrame()); in SetSendStreamFormat()
1290 EXPECT_TRUE(SetOneCodec(DefaultCodec())); in SetSendStreamFormat0x0()
1291 EXPECT_TRUE(SetSendStreamFormat(kSsrc, DefaultCodec())); in SetSendStreamFormat0x0()
1292 EXPECT_TRUE(SetSend(true)); in SetSendStreamFormat0x0()
1293 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SetSendStreamFormat0x0()
1296 EXPECT_TRUE(SendFrame()); in SetSendStreamFormat0x0()
1305 EXPECT_TRUE(channel_->SetSendStreamFormat(kSsrc, format)); in SetSendStreamFormat0x0()
1307 EXPECT_TRUE(WaitAndSendFrame( in SetSendStreamFormat0x0()
1315 EXPECT_TRUE(SetDefaultCodec()); in MuteStream()
1322 EXPECT_TRUE(channel_->SetCapturer(kSsrc, &video_capturer)); in MuteStream()
1323 EXPECT_TRUE(SetSend(true)); in MuteStream()
1324 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in MuteStream()
1328 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, false, nullptr)); in MuteStream()
1329 EXPECT_TRUE(video_capturer.CaptureFrame()); in MuteStream()
1332 EXPECT_TRUE(renderer_.black_frame()); in MuteStream()
1334 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, true, nullptr)); in MuteStream()
1335 EXPECT_TRUE(rtc::Thread::Current()->ProcessMessages(30)); in MuteStream()
1336 EXPECT_TRUE(video_capturer.CaptureFrame()); in MuteStream()
1341 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, false, nullptr)); in MuteStream()
1342 EXPECT_TRUE(rtc::Thread::Current()->ProcessMessages(30)); in MuteStream()
1343 EXPECT_TRUE(video_capturer.CaptureFrame()); in MuteStream()
1346 EXPECT_TRUE(renderer_.black_frame()); in MuteStream()
1347 EXPECT_TRUE(channel_->SetVideoSend(kSsrc, true, nullptr)); in MuteStream()
1348 EXPECT_TRUE(rtc::Thread::Current()->ProcessMessages(30)); in MuteStream()
1349 EXPECT_TRUE(video_capturer.CaptureFrame()); 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()
1361 EXPECT_TRUE(channel_->SetCapturer(kSsrc, NULL)); in MuteStream()
1368 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in MultipleSendStreams()
1371 EXPECT_TRUE(channel_->AddSendStream( in MultipleSendStreams()
1376 EXPECT_TRUE(channel_->RemoveSendStream(kSsrcs4[kSsrcsSize - 1])); in MultipleSendStreams()
1403 EXPECT_TRUE(channel_->RemoveRecvStream(kSsrc)); in TwoStreamsReUseFirstStream()
1405 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc)); in TwoStreamsReUseFirstStream()
1410 EXPECT_TRUE(channel_->AddSendStream( in TwoStreamsReUseFirstStream()
1416 EXPECT_TRUE(channel_->AddRecvStream( in TwoStreamsReUseFirstStream()
1418 EXPECT_TRUE(channel_->SetRenderer(new_ssrc, &renderer_)); in TwoStreamsReUseFirstStream()
1422 EXPECT_TRUE(channel_->SetCapturer(new_ssrc, video_capturer_.get())); in TwoStreamsReUseFirstStream()
1425 EXPECT_TRUE(channel_->RemoveSendStream(new_ssrc)); in TwoStreamsReUseFirstStream()
1434 EXPECT_TRUE(channel_->SetSendParameters(parameters)); in TwoStreamsSendAndUnsignalledRecv()
1447 EXPECT_TRUE(channel_->AddRecvStream( in TwoStreamsSendAndUnsignalledRecv()
1449 EXPECT_TRUE(channel_->SetRenderer(kSsrc + 2, &renderer2_)); in TwoStreamsSendAndUnsignalledRecv()
1468 EXPECT_TRUE(channel_->SetOptions(vmo)); in TwoStreamsAddAndRemoveUnsignalledRecv()
1482 EXPECT_TRUE(channel_->RemoveRecvStream(kSsrc + 2)); in TwoStreamsAddAndRemoveUnsignalledRecv()