Home | History | Annotate | Download | only in media

Lines Matching defs:Content

85   typedef ContentT Content;
252 // Add stream information (SSRC) to the local content but not to the remote
253 // content. This means that we per default know the SSRC of what we send but
289 // Add stream information (SSRC) to the local content but not to the remote
290 // content. This means that we per default know the SSRC of what we send but
487 typename T::Content* content) {
490 void CopyContent(const typename T::Content& source,
491 typename T::Content* content) {
503 typename T::Content content;
505 CreateContent(SECURE, kPcmuCodec, kH264Codec, &content);
506 AddLegacyStreamInContent(ssrc, 0, &content);
508 cricket::NS_JINGLE_RTP, content.Copy());
571 typename T::Content* content) {
593 typename T::Content content;
594 CreateContent(0, kPcmuCodec, kH264Codec, &content);
595 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER));
597 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER));
599 EXPECT_TRUE(CodecMatches(content.codecs()[0],
607 typename T::Content content;
608 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER));
609 CreateContent(0, kPcmuCodec, kH264Codec, &content);
611 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER));
613 EXPECT_TRUE(CodecMatches(content.codecs()[0],
623 typename T::Content content;
624 CreateContent(0, kPcmuCodec, kH264Codec, &content);
626 content.set_rtcp_mux(true);
627 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER));
628 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER));
631 EXPECT_TRUE(channel2_->SetLocalContent(&content, CA_OFFER));
632 content.set_rtcp_mux(false);
633 EXPECT_TRUE(channel2_->SetRemoteContent(&content, CA_ANSWER));
643 typename T::Content content;
644 CreateContent(0, kPcmuCodec, kH264Codec, &content);
645 content.set_rtcp_mux(true);
646 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER));
647 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_PRANSWER));
649 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER));
653 EXPECT_TRUE(channel2_->SetLocalContent(&content, CA_OFFER));
654 content.set_rtcp_mux(false);
655 EXPECT_TRUE(channel2_->SetRemoteContent(&content, CA_PRANSWER));
656 EXPECT_TRUE(channel2_->SetRemoteContent(&content, CA_ANSWER));
664 typename T::Content content;
665 CreateContent(0, kPcmuCodec, kH264Codec, &content);
666 content.set_buffered_mode_latency(101);
667 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER));
674 content.set_buffered_mode_latency(102);
675 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER));
677 EXPECT_TRUE(CodecMatches(content.codecs()[0],
684 // Test that SetRemoteContent properly deals with a content update.
687 typename T::Content content;
690 &content);
692 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER));
693 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER));
695 EXPECT_TRUE(CodecMatches(content.codecs()[0],
698 typename T::Content update_content;
707 typename T::Content empty_content;
728 // to the local content description.
751 typename T::Content content1;
762 typename T::Content content2;
774 typename T::Content content3;
785 typename T::Content content4;
795 // StreamParams to the remote content description.
818 typename T::Content content1;
830 typename T::Content content2;
842 typename T::Content content3;
853 typename T::Content content4;
880 typename T::Content content1;
892 typename T::Content content2;
903 // Let channel 2 update the content by sending |stream2| and enable SRTP.
904 typename T::Content content3;
916 typename T::Content content4;
988 typename T::Content content1;
990 typename T::Content content2;
1589 typename T::Content content;
1594 CreateContent(0, kPcmuCodec, kH264Codec, &content);
1827 typename T::Content content;
1828 CreateContent(0, kPcmuCodec, kH264Codec, &content);
1830 content.set_rtcp_mux(true);
1831 EXPECT_TRUE(channel1_->SetLocalContent(&content, CA_OFFER));
1832 EXPECT_TRUE(channel1_->SetRemoteContent(&content, CA_ANSWER));
1853 typename T::Content local_media_content1_;
1854 typename T::Content local_media_content2_;
1855 typename T::Content remote_media_content1_;
1856 typename T::Content remote_media_content2_;