Home
last modified time | relevance | path

Searched refs:payload_types (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dred_payload_splitter_unittest.cc80 uint8_t* payload_types, in CreateRedPayload() argument
95 *payload_ptr = payload_types[i] & 0x7F; // F = 0; in CreateRedPayload()
99 *payload_ptr = payload_types[i] & 0x7F; in CreateRedPayload()
185 uint8_t payload_types[] = {0, 0}; in TEST() local
188 packet_list.push_back(CreateRedPayload(2, payload_types, kTimestampOffset)); in TEST()
193 VerifyPacket(packet_list.front(), kPayloadLength, payload_types[1], in TEST()
197 VerifyPacket(packet_list.front(), kPayloadLength, payload_types[0], in TEST()
204 uint8_t payload_types[] = {0}; in TEST() local
208 packet_list.push_back(CreateRedPayload(1, payload_types, kTimestampOffset)); in TEST()
211 Packet packet = CreateRedPayload(1, payload_types, kTimestampOffset); in TEST()
[all …]
/external/webrtc/pc/
Dsdp_serializer.cc141 std::vector<int>& payload_types = rid_description->payload_types; in ParseRidPayloadList() local
144 if (!payload_types.empty()) { in ParseRidPayloadList()
170 if (absl::c_linear_search(payload_types, value.value())) { in ParseRidPayloadList()
173 payload_types.push_back(value.value()); in ParseRidPayloadList()
276 const auto& payload_types = rid_description.payload_types; in SerializeRidDescription() local
283 if (!payload_types.empty()) { in SerializeRidDescription()
287 for (int payload_type : payload_types) { in SerializeRidDescription()
Dsdp_serializer_unittest.cc91 ExpectEqual(expected.payload_types, actual.payload_types); in ExpectEqual()
319 rid_description.payload_types = {102, 101}; in TEST_F()
326 rid_description.payload_types = {100}; in TEST_F()
343 rid_description.payload_types = {103, 104}; in TEST_F()
354 rid_description.payload_types = {103}; in TEST_F()
377 rid_description.payload_types = {101}; in TEST_F()
384 rid_description.payload_types = {103, 104, 101, 102}; in TEST_F()
418 rid_description.payload_types = {104, 103}; in TEST_F()
428 rid_description.payload_types = {104}; in TEST_F()
Dwebrtc_sdp.cc296 const std::vector<int>& payload_types,
317 const std::vector<int>& payload_types,
354 static void RemoveInvalidRidDescriptions(const std::vector<int>& payload_types,
2362 static void RemoveInvalidRidDescriptions(const std::vector<int>& payload_types, in RemoveInvalidRidDescriptions() argument
2386 if (rid.payload_types.empty()) { in RemoveInvalidRidDescriptions()
2394 for (int payload_type : rid.payload_types) { in RemoveInvalidRidDescriptions()
2395 if (!absl::c_linear_search(payload_types, payload_type)) { in RemoveInvalidRidDescriptions()
2400 rid.payload_types.erase( in RemoveInvalidRidDescriptions()
2401 std::remove_if(rid.payload_types.begin(), rid.payload_types.end(), in RemoveInvalidRidDescriptions()
2405 rid.payload_types.end()); in RemoveInvalidRidDescriptions()
[all …]
Drtp_transport_unittest.cc288 demuxer_criteria.payload_types = {0x11}; in TEST()
312 demuxer_criteria.payload_types = {0x12}; in TEST()
Dcomposite_rtp_transport_test.cc71 criteria.payload_types.insert(kRtpPayloadType); in SetupRtpTransports()
Dsrtp_transport_unittest.cc74 demuxer_criteria.payload_types = {0x00}; in SrtpTransportTest()
Dchannel.cc760 demuxer_criteria_.payload_types.insert(static_cast<uint8_t>(payload_type)); in AddHandledPayloadType()
764 demuxer_criteria_.payload_types.clear(); in ClearHandledPayloadTypes()
Ddtls_srtp_transport_unittest.cc91 demuxer_criteria.payload_types = {0x00}; in MakeDtlsSrtpTransports()
Dwebrtc_sdp_unittest.cc4493 EXPECT_EQ(1ul, rids[0].payload_types.size()); in TEST_F()
4494 EXPECT_EQ(120, rids[0].payload_types[0]); in TEST_F()
/external/webrtc/media/base/
Drid_description.cc24 payload_types == other.payload_types && in operator ==()
Drid_description.h78 std::vector<int> payload_types; member
/external/webrtc/call/
Drtp_demuxer_unittest.cc204 pt1_pt2.payload_types = {pt1, pt2}; in TEST_F()
210 pt1_pt3.payload_types = {pt1, pt3}; in TEST_F()
283 pt1_pt2.payload_types = {pt1, pt2}; in TEST_F()
288 pt2_pt1.payload_types = {pt2, pt1}; in TEST_F()
370 criteria.payload_types = {payload_type}; in TEST_F()
969 mid1_pt.payload_types = {payload_type}; in TEST_F()
975 mid2_pt.payload_types = {payload_type}; in TEST_F()
997 mid1_pt.payload_types = {payload_type}; in TEST_F()
1003 mid2_pt.payload_types = {payload_type}; in TEST_F()
1023 pt.payload_types = {payload_type}; in TEST_F()
[all …]
Drtp_demuxer.cc67 for (auto pt : payload_types) { in ToString()
106 RTC_DCHECK(!criteria.payload_types.empty() || !criteria.ssrcs.empty() || in AddSink()
138 for (uint8_t payload_type : criteria.payload_types) { in AddSink()
Drtp_demuxer.h45 std::set<uint8_t> payload_types; member
/external/webrtc/test/peer_scenario/
Dscenario_connection.cc178 criteria.payload_types.insert(codec.id); in SetRemoteSdp()
184 criteria.payload_types.insert(codec.id); in SetRemoteSdp()
/external/webrtc/media/engine/
Dwebrtc_voice_engine.cc142 std::vector<int> payload_types; in VerifyUniquePayloadTypes() local
143 absl::c_transform(codecs, std::back_inserter(payload_types), in VerifyUniquePayloadTypes()
145 absl::c_sort(payload_types); in VerifyUniquePayloadTypes()
146 return absl::c_adjacent_find(payload_types) == payload_types.end(); in VerifyUniquePayloadTypes()