Home | History | Annotate | Download | only in media

Lines Matching full:channel1_

155     channel1_.reset(CreateChannel(thread, &media_engine_, ch1,
161 channel1_->SignalMediaMonitor.connect(
219 bool result = channel1_->SetLocalContent(&local_media_content1_,
222 channel1_->Enable(true);
237 return channel1_->SetRemoteContent(&remote_media_content2_,
242 bool result = channel1_->SetLocalContent(&local_media_content1_,
245 channel1_->Enable(true);
257 result = channel1_->SetRemoteContent(&remote_media_content2_,
268 result = channel1_->SetRemoteContent(&remote_media_content2_,
274 channel1_.reset();
280 return channel1_->AddRecvStream(cricket::StreamParams::CreateLegacy(id));
283 return channel1_->RemoveRecvStream(id);
288 return transport_controller1_.GetTransport_w(channel1_->content_name());
464 if (channel == channel1_.get()) {
482 EXPECT_FALSE(channel1_->secure());
499 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER, NULL));
501 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER, NULL));
512 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER, NULL));
515 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER, NULL));
525 EXPECT_TRUE(channel1_->rtcp_transport_channel() != NULL);
531 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER, NULL));
532 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER, NULL));
533 EXPECT_TRUE(channel1_->rtcp_transport_channel() == NULL);
545 EXPECT_TRUE(channel1_->rtcp_transport_channel() != NULL);
550 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER, NULL));
551 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_PRANSWER, NULL));
552 EXPECT_TRUE(channel1_->rtcp_transport_channel() != NULL);
553 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER, NULL));
555 EXPECT_TRUE(channel1_->rtcp_transport_channel() == NULL);
572 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER, NULL));
573 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER, NULL));
582 EXPECT_TRUE(channel1_->SetRemoteContent(&update_content, CA_UPDATE, NULL));
589 EXPECT_TRUE(channel1_->SetRemoteContent(&empty_content, CA_UPDATE, NULL));
635 EXPECT_TRUE(channel1_->SetLocalContent(&content1, CA_OFFER, NULL));
646 EXPECT_TRUE(channel1_->SetLocalContent(&content2, CA_UPDATE, NULL));
658 EXPECT_TRUE(channel1_->SetLocalContent(&content3, CA_UPDATE, NULL));
668 EXPECT_TRUE(channel1_->SetLocalContent(&content4, CA_UPDATE, NULL));
702 EXPECT_TRUE(channel1_->SetRemoteContent(&content1, CA_OFFER, NULL));
714 EXPECT_TRUE(channel1_->SetRemoteContent(&content2, CA_UPDATE, NULL));
726 EXPECT_TRUE(channel1_->SetRemoteContent(&content3, CA_UPDATE, NULL));
736 EXPECT_TRUE(channel1_->SetRemoteContent(&content4, CA_UPDATE, NULL));
763 EXPECT_TRUE(channel1_->SetLocalContent(&content1, CA_OFFER, NULL));
764 EXPECT_TRUE(channel1_->Enable(true));
774 EXPECT_TRUE(channel1_->SetRemoteContent(&content2, CA_ANSWER, NULL));
791 EXPECT_TRUE(channel1_->SetRemoteContent(&content3, CA_OFFER, NULL));
798 EXPECT_TRUE(channel1_->SetLocalContent(&content4, CA_ANSWER, NULL));
804 EXPECT_TRUE(channel1_->secure());
821 EXPECT_TRUE(channel1_->Enable(true));
826 EXPECT_TRUE(channel1_->SetLocalContent(&local_media_content1_,
858 EXPECT_TRUE(channel1_->SetRemoteContent(&local_media_content2_,
877 EXPECT_TRUE(channel1_->Enable(true));
888 EXPECT_TRUE(channel1_->SetLocalContent(&content1, CA_OFFER, NULL));
891 EXPECT_TRUE(channel1_->SetRemoteContent(&content2, CA_PRANSWER, NULL));
906 EXPECT_TRUE(channel1_->SetRemoteContent(&content2, CA_PRANSWER, NULL));
920 EXPECT_TRUE(channel1_->SetRemoteContent(&content2, CA_ANSWER, NULL));
935 EXPECT_FALSE(channel1_->secure());
942 EXPECT_FALSE(channel1_->secure());
1098 channel1_->ActivateRtcpMux();
1149 channel1_->ActivateRtcpMux();
1176 channel1_->ActivateRtcpMux();
1255 EXPECT_FALSE(channel1_->secure());
1258 EXPECT_TRUE_WAIT(channel1_->writable(), kEventTimeout);
1261 EXPECT_TRUE(channel1_->secure());
1263 EXPECT_EQ(dtls1 && dtls2, channel1_
1282 EXPECT_FALSE(channel1_->secure());
1286 EXPECT_FALSE(channel1_->secure());
1311 EXPECT_TRUE(channel1_->secure());
1332 EXPECT_TRUE(channel1_->secure());
1451 // Only pl_type1 was added to the bundle filter for both |channel1_|
1471 EXPECT_TRUE(channel1_->bundle_filter()->FindPayloadType(pl_type1));
1473 EXPECT_FALSE(channel1_->bundle_filter()->FindPayloadType(pl_type2));
1510 channel1_->StartMediaMonitor(100);
1515 channel1_->StopMediaMonitor();
1518 channel1_->StartMediaMonitor(100);
1520 channel1_->StopMediaMonitor();
1522 channel1_->StopMediaMonitor();
1536 EXPECT_FALSE(channel1_->PushdownLocalDescription(
1538 EXPECT_FALSE(channel1_->PushdownLocalDescription(
1542 EXPECT_FALSE(channel1_->PushdownRemoteDescription(
1545 EXPECT_FALSE(channel1_->PushdownRemoteDescription(
1555 EXPECT_TRUE(channel1_->PushdownLocalDescription(
1561 EXPECT_TRUE(channel1_->PushdownLocalDescription(
1573 EXPECT_TRUE(channel1_->PushdownRemoteDescription(
1579 EXPECT_TRUE(channel1_->PushdownRemoteDescription(
1592 EXPECT_TRUE(channel1_->PushdownRemoteDescription(
1599 EXPECT_TRUE(channel1_->PushdownLocalDescription(
1607 EXPECT_TRUE(channel1_->PushdownLocalDescription(
1621 EXPECT_TRUE(channel1_->PushdownLocalDescription(
1628 EXPECT_TRUE(channel1_->PushdownRemoteDescription(
1636 EXPECT_TRUE(channel1_->PushdownRemoteDescription(
1660 // When channel1_ is deleted, the RTCP packet should be sent out to
1662 channel1_.reset();
1698 EXPECT_FALSE(channel1_->secure());
1702 EXPECT_TRUE(channel1_->secure());
1745 TransportChannel* rtp = channel1_->transport_channel();
1746 TransportChannel* rtcp = channel1_->rtcp_transport_channel();
1756 channel1_->SetReadyToSend(false, false);
1758 channel1_->SetReadyToSend(false, true);
1762 channel1_->SetReadyToSend(true, false);
1764 channel1_->SetReadyToSend(true, true);
1774 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER, NULL));
1775 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER, NULL));
1776 EXPECT_TRUE(channel1_->rtcp_transport_channel() == NULL);
1777 TransportChannel* rtp = channel1_->transport_channel();
1783 channel1_->SetReadyToSend(false, false);
1797 rtc::scoped_ptr<typename T::Channel> channel1_;
1879 return channel1_->AddRecvStream(cricket::StreamParams::CreateLegacy(id));
1985 EXPECT_TRUE(channel1_->SetAudioSend(0, false, nullptr, nullptr));
1987 EXPECT_TRUE(channel1_->SetAudioSend(0, true, nullptr, nullptr));
1991 EXPECT_FALSE(channel1_->SetAudioSend(kSsrc1, false, nullptr, nullptr));
1996 EXPECT_TRUE(channel1_->SetAudioSend(kSsrc1, false, nullptr, nullptr));
1998 EXPECT_TRUE(channel1_->SetAudioSend(kSsrc1, true, nullptr, nullptr));
2120 EXPECT_TRUE(channel1_->InsertDtmf(1, 3, 100));
2121 EXPECT_TRUE(channel1_->InsertDtmf(2, 5, 110));
2122 EXPECT_TRUE(channel1_->InsertDtmf(3, 7, 120));
2183 EXPECT_TRUE(channel1_->SetOutputVolume(0, 1.5));
2188 EXPECT_TRUE(channel1_->SetOutputVolume(0, 0.0));
2213 EXPECT_TRUE(channel1_->SetOutputVolume(1, 1.5));
2222 EXPECT_TRUE(channel1_->SetOutputVolume(0, 0.0));
2280 channel1_->SignalScreencastWindowEvent.connect(
2290 EXPECT_TRUE(channel1_->AddScreencast(0, screen_capturer));
2303 EXPECT_TRUE(channel1_->RemoveScreencast(0));
2327 EXPECT_TRUE(channel1_->SetVideoSend(0, false, nullptr));
2329 EXPECT_TRUE(channel1_->SetVideoSend(0, true, nullptr));
2332 EXPECT_FALSE(channel1_->SetVideoSend(kSsrc1, false, nullptr));
2336 EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, false, nullptr));
2338 EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, true, nullptr));
2525 EXPECT_TRUE(channel1_->ApplyViewRequest(request));
2538 EXPECT_TRUE(channel1_->ApplyViewRequest(request));
2548 EXPECT_TRUE(channel1_->ApplyViewRequest(request));
2559 EXPECT_TRUE(channel1_->ApplyViewRequest(request));