Lines Matching refs:RtpTransceiverDirection
103 using webrtc::RtpTransceiverDirection;
288 static RtpTransceiverDirection GetMediaDirection(const ContentInfo* content) { in GetMediaDirection()
331 RtpTransceiverDirection direction, in AddMediaDescriptionOptions()
338 static void AddAudioVideoSections(RtpTransceiverDirection direction, in AddAudioVideoSections()
347 RtpTransceiverDirection direction, in AddDataSection()
411 RtpTransceiverDirection::kRecvOnly, kActive, in CreatePlanBMediaSessionOptions()
605 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TestCryptoWithBundle()
606 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TestCryptoWithBundle()
652 RtpTransceiverDirection direction_in_offer, in TestMediaDirectionInAnswer()
653 RtpTransceiverDirection expected_direction_in_answer) { in TestMediaDirectionInAnswer()
666 AddAudioVideoSections(RtpTransceiverDirection::kSendRecv, &answer_opts); in TestMediaDirectionInAnswer()
693 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &offer_opts); in TestVideoGcmCipher()
697 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &answer_opts); in TestVideoGcmCipher()
749 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TestTransportSequenceNumberNegotiation()
772 webrtc::RtpTransceiverDirection::kSendRecv); in HeaderExtensionCapabilitiesFromRtpExtensions()
830 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
869 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
870 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
898 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
901 RtpTransceiverDirection::kInactive, kStopped, in TEST_F()
910 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &updated_opts); in TEST_F()
911 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
938 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
939 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
972 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
987 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1003 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1028 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1046 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1068 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1075 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1094 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1103 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1125 AddAudioVideoSections(RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1153 AddAudioVideoSections(RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1179 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1196 AddAudioVideoSections(RtpTransceiverDirection::kSendOnly, &opts); in TEST_F()
1208 EXPECT_EQ(RtpTransceiverDirection::kSendOnly, in TEST_F()
1210 EXPECT_EQ(RtpTransceiverDirection::kSendOnly, in TEST_F()
1218 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1226 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
1236 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
1305 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1354 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1385 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1424 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1445 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1475 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1509 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1538 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1563 AddDataSection(cricket::DCT_SCTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
1569 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
1577 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
1598 TestMediaDirectionInAnswer(RtpTransceiverDirection::kSendRecv, in TEST_F()
1599 RtpTransceiverDirection::kSendRecv); in TEST_F()
1605 TestMediaDirectionInAnswer(RtpTransceiverDirection::kSendOnly, in TEST_F()
1606 RtpTransceiverDirection::kRecvOnly); in TEST_F()
1612 TestMediaDirectionInAnswer(RtpTransceiverDirection::kRecvOnly, in TEST_F()
1613 RtpTransceiverDirection::kSendOnly); in TEST_F()
1619 TestMediaDirectionInAnswer(RtpTransceiverDirection::kInactive, in TEST_F()
1620 RtpTransceiverDirection::kInactive); in TEST_F()
1627 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1683 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1737 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1759 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1778 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1795 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1812 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1835 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1858 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
1882 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1886 RtpTransceiverDirection::kStopped), in TEST_F()
1888 RtpTransceiverDirection::kSendOnly)}; in TEST_F()
1890 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1894 RtpTransceiverDirection::kStopped), in TEST_F()
1896 RtpTransceiverDirection::kSendOnly)}; in TEST_F()
1915 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1919 RtpTransceiverDirection::kSendOnly), in TEST_F()
1921 RtpTransceiverDirection::kStopped)}; in TEST_F()
1923 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1927 RtpTransceiverDirection::kSendRecv), in TEST_F()
1929 RtpTransceiverDirection::kSendOnly)}; in TEST_F()
1950 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1954 RtpTransceiverDirection::kSendOnly), in TEST_F()
1956 RtpTransceiverDirection::kSendRecv)}; in TEST_F()
1958 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1962 RtpTransceiverDirection::kSendRecv), in TEST_F()
1964 RtpTransceiverDirection::kStopped)}; in TEST_F()
1984 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
1988 RtpTransceiverDirection::kStopped), in TEST_F()
1990 RtpTransceiverDirection::kSendOnly), in TEST_F()
1992 RtpTransceiverDirection::kRecvOnly), in TEST_F()
1994 RtpTransceiverDirection::kSendRecv)}; in TEST_F()
1998 RtpTransceiverDirection::kSendOnly), in TEST_F()
2000 RtpTransceiverDirection::kRecvOnly), in TEST_F()
2002 RtpTransceiverDirection::kStopped), in TEST_F()
2004 RtpTransceiverDirection::kSendRecv)}; in TEST_F()
2019 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2023 RtpTransceiverDirection::kSendRecv)}; in TEST_F()
2027 RtpTransceiverDirection::kSendRecv), in TEST_F()
2029 RtpTransceiverDirection::kRecvOnly), in TEST_F()
2031 RtpTransceiverDirection::kStopped), in TEST_F()
2033 RtpTransceiverDirection::kSendRecv)}; in TEST_F()
2049 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2053 RtpTransceiverDirection::kSendRecv), in TEST_F()
2055 RtpTransceiverDirection::kSendRecv)}; in TEST_F()
2062 RtpTransceiverDirection::kSendRecv), in TEST_F()
2064 RtpTransceiverDirection::kStopped)}; in TEST_F()
2078 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2109 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2139 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2170 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2171 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2193 AddAudioVideoSections(RtpTransceiverDirection::kSendRecv, &offer_opts); in TEST_F()
2194 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kSendRecv, in TEST_F()
2198 AddAudioVideoSections(RtpTransceiverDirection::kSendRecv, &answer_opts); in TEST_F()
2199 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kSendRecv, in TEST_F()
2278 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
2281 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
2302 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
2322 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2323 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2370 AddAudioVideoSections(RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
2417 AddAudioVideoSections(RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
2425 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kSendRecv, &opts); in TEST_F()
2563 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
2566 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2624 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2648 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2674 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2683 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2711 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2722 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2754 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
2757 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
2761 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
2769 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2772 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2782 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2909 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
2963 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
2990 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
3018 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
3049 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
3076 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3126 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3185 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3200 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
3237 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
3276 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3319 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3349 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3385 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3421 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
3463 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
3504 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
3548 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
3603 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
3638 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_F()
3713 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3722 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3732 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3739 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3740 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3748 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3749 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3756 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3757 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3766 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3767 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3776 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3785 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3796 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
3803 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3804 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3812 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3813 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3820 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3821 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3830 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
3831 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
3914 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
4021 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
4022 AddDataSection(cricket::DCT_RTP, RtpTransceiverDirection::kRecvOnly, in TEST_F()
4069 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &options); in TEST_F()
4091 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
4094 RtpTransceiverDirection::kRecvOnly, kActive, in TEST_F()
4098 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4123 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4129 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4135 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4141 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4154 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, acd->direction()); in TEST_F()
4161 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, vcd->direction()); in TEST_F()
4167 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, acd->direction()); in TEST_F()
4173 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, vcd->direction()); in TEST_F()
4182 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4188 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4194 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4200 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4216 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, acd->direction()); in TEST_F()
4223 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, vcd->direction()); in TEST_F()
4229 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, acd->direction()); in TEST_F()
4235 EXPECT_EQ(RtpTransceiverDirection::kSendRecv, vcd->direction()); in TEST_F()
4245 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4248 RtpTransceiverDirection::kInactive, kStopped, in TEST_F()
4265 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4268 RtpTransceiverDirection::kInactive, kStopped, in TEST_F()
4280 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4283 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4299 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4302 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4314 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4317 RtpTransceiverDirection::kInactive, kStopped, in TEST_F()
4338 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4341 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4357 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4360 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4396 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4399 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4432 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4435 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4490 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4493 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4541 RtpTransceiverDirection::kSendRecv, kActive, in TEST_F()
4595 AddAudioVideoSections(RtpTransceiverDirection::kRecvOnly, &opts); in TEST_P()
4693 void TestAudioCodecsOffer(RtpTransceiverDirection direction) { in TestAudioCodecsOffer()
4707 if (direction == RtpTransceiverDirection::kSendRecv || in TestAudioCodecsOffer()
4708 direction == RtpTransceiverDirection::kSendOnly) { in TestAudioCodecsOffer()
4727 if (acd->direction() == RtpTransceiverDirection::kSendOnly) { in TestAudioCodecsOffer()
4729 } else if (acd->direction() == RtpTransceiverDirection::kRecvOnly) { in TestAudioCodecsOffer()
4788 void TestAudioCodecsAnswer(RtpTransceiverDirection offer_direction, in TestAudioCodecsAnswer()
4789 RtpTransceiverDirection answer_direction, in TestAudioCodecsAnswer()
4842 case RtpTransceiverDirection::kInactive: in TestAudioCodecsAnswer()
4846 case RtpTransceiverDirection::kSendOnly: in TestAudioCodecsAnswer()
4850 case RtpTransceiverDirection::kRecvOnly: in TestAudioCodecsAnswer()
4854 case RtpTransceiverDirection::kSendRecv: in TestAudioCodecsAnswer()
4855 if (acd->direction() == RtpTransceiverDirection::kSendOnly) { in TestAudioCodecsAnswer()
4858 } else if (acd->direction() == RtpTransceiverDirection::kRecvOnly) { in TestAudioCodecsAnswer()
4891 EXPECT_EQ(offer_direction, RtpTransceiverDirection::kInactive) in TestAudioCodecsAnswer()
4900 : public ::testing::TestWithParam<RtpTransceiverDirection> {};
4908 ::testing::Values(RtpTransceiverDirection::kSendOnly,
4909 RtpTransceiverDirection::kRecvOnly,
4910 RtpTransceiverDirection::kSendRecv,
4911 RtpTransceiverDirection::kInactive));
4914 : public ::testing::TestWithParam<::testing::tuple<RtpTransceiverDirection,
4915 RtpTransceiverDirection,
4927 ::testing::Combine(::testing::Values(RtpTransceiverDirection::kSendOnly,
4928 RtpTransceiverDirection::kRecvOnly,
4929 RtpTransceiverDirection::kSendRecv,
4930 RtpTransceiverDirection::kInactive),
4931 ::testing::Values(RtpTransceiverDirection::kSendOnly,
4932 RtpTransceiverDirection::kRecvOnly,
4933 RtpTransceiverDirection::kSendRecv,
4934 RtpTransceiverDirection::kInactive),