Home
last modified time | relevance | path

Searched refs:RtpPayloadType (Results 1 – 18 of 18) sorted by relevance

/external/openscreen/cast/streaming/
Drtp_defines.cc12 RtpPayloadType GetPayloadType(AudioCodec codec, bool use_android_rtp_hack) { in GetPayloadType()
15 ? RtpPayloadType::kAudioVarious in GetPayloadType()
16 : RtpPayloadType::kAudioHackForAndroidTV; in GetPayloadType()
21 return RtpPayloadType::kAudioAac; in GetPayloadType()
23 return RtpPayloadType::kAudioOpus; in GetPayloadType()
25 return RtpPayloadType::kAudioVarious; in GetPayloadType()
31 RtpPayloadType GetPayloadType(VideoCodec codec, bool use_android_rtp_hack) { in GetPayloadType()
34 ? RtpPayloadType::kVideoVarious in GetPayloadType()
35 : RtpPayloadType::kVideoHackForAndroidTV; in GetPayloadType()
41 return RtpPayloadType::kVideoVp8; in GetPayloadType()
[all …]
Drtp_defines.h82 enum class RtpPayloadType : uint8_t { enum
112 RtpPayloadType GetPayloadType(AudioCodec codec, bool use_android_rtp_hack);
113 RtpPayloadType GetPayloadType(VideoCodec codec, bool use_android_rtp_hack);
Drtp_packet_parser_unittest.cc36 EXPECT_EQ(RtpPayloadType::kAudioOpus, result->payload_type); in TEST()
73 EXPECT_EQ(RtpPayloadType::kAudioOpus, result->payload_type); in TEST()
111 EXPECT_EQ(RtpPayloadType::kAudioOpus, result->payload_type); in TEST()
149 EXPECT_EQ(RtpPayloadType::kAudioOpus, result->payload_type); in TEST()
190 EXPECT_EQ(RtpPayloadType::kAudioOpus, result->payload_type); in TEST()
Drtp_packetizer_unittest.cc23 constexpr RtpPayloadType kPayloadType = RtpPayloadType::kAudioOpus;
Drtp_packetizer.h29 RtpPacketizer(RtpPayloadType payload_type,
Drtp_packet_parser.h33 RtpPayloadType payload_type;
Doffer_messages_unittest.cc134 EXPECT_EQ(RtpPayloadType::kVideoH264, vs_one.stream.rtp_payload_type); in ExpectEqualsValidOffer()
166 EXPECT_EQ(RtpPayloadType::kVideoVp8, vs_two.stream.rtp_payload_type); in ExpectEqualsValidOffer()
187 EXPECT_EQ(RtpPayloadType::kVideoAv1, vs_three.stream.rtp_payload_type); in ExpectEqualsValidOffer()
210 EXPECT_EQ(RtpPayloadType::kAudioOpus, as.stream.rtp_payload_type); in ExpectEqualsValidOffer()
Dsender_session.cc405 RtpPayloadType type) { in CreateSender()
426 const RtpPayloadType payload_type = in SpawnAudioSender()
445 const RtpPayloadType payload_type = in SpawnVideoSender()
Doffer_messages.h60 RtpPayloadType rtp_payload_type = {};
Drtp_packet_parser.cc40 result.payload_type = static_cast<RtpPayloadType>(payload_type); in Parse()
Drtp_packetizer.cc39 RtpPacketizer::RtpPacketizer(RtpPayloadType payload_type, in RtpPacketizer()
Dsender_session.h215 RtpPayloadType type);
Dsender.h120 RtpPayloadType rtp_payload_type);
Doffer_messages.cc78 bool TryParseRtpPayloadType(const Json::Value& value, RtpPayloadType* out) { in TryParseRtpPayloadType()
89 *out = static_cast<RtpPayloadType>(t_small); in TryParseRtpPayloadType()
Dsession_messenger_unittest.cc30 RtpPayloadType::kAudioOpus,
42 RtpPayloadType::kVideoVp8,
Dreceiver_unittest.cc67 constexpr RtpPayloadType kRtpPayloadType = RtpPayloadType::kVideoVp8;
Dsender.cc25 RtpPayloadType rtp_payload_type) in Sender()
Dsender_unittest.cc68 constexpr RtpPayloadType kRtpPayloadType = RtpPayloadType::kVideoVp8;