Home
last modified time | relevance | path

Searched refs:payload_name (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/logging/rtc_event_log/
Drtc_stream_config.cc33 StreamConfig::Codec::Codec(const std::string& payload_name, in Codec() argument
36 : payload_name(payload_name), in Codec()
41 return payload_name == other.payload_name && in operator ==()
Drtc_stream_config.h44 Codec(const std::string& payload_name,
50 std::string payload_name; member
/external/webrtc/video/end_to_end_tests/
Dmulti_codec_receive_tests.cc37 uint8_t PayloadNameToPayloadType(const std::string& payload_name) { in PayloadNameToPayloadType() argument
38 if (payload_name == "VP8") { in PayloadNameToPayloadType()
40 } else if (payload_name == "VP9") { in PayloadNameToPayloadType()
42 } else if (payload_name == "H264") { in PayloadNameToPayloadType()
162 std::string payload_name; member
186 if (unique_payload_names.insert(config.payload_name).second) { in ConfigureDecoders()
188 PayloadNameToPayloadType(config.payload_name), config.payload_name); in ConfigureDecoders()
198 GetVideoSendConfig()->rtp.payload_name = config.payload_name; in ConfigureEncoder()
200 PayloadNameToPayloadType(config.payload_name); in ConfigureEncoder()
202 PayloadStringToCodecType(config.payload_name); in ConfigureEncoder()
[all …]
Dcodec_tests.cc53 const std::string& payload_name, in CodecObserver() argument
62 payload_name_(payload_name), in CodecObserver()
78 send_config->rtp.payload_name = payload_name_; in ModifyVideoConfigs()
86 SdpVideoFormat(send_config->rtp.payload_name); in ModifyVideoConfigs()
Dextended_reports_tests.cc180 send_config->rtp.payload_name = "VP8"; in ModifyVideoConfigs()
186 SdpVideoFormat(send_config->rtp.payload_name); in ModifyVideoConfigs()
Dframe_encryption_tests.cc42 send_config->rtp.payload_name = "VP8"; in ModifyVideoConfigs()
Dfec_tests.cc118 send_config->rtp.payload_name = "VP8"; in TEST_F()
477 send_config->rtp.payload_name = "VP8"; in TEST_F()
489 SdpVideoFormat(send_config->rtp.payload_name); in TEST_F()
Dmulti_stream_tester.cc90 send_config.rtp.payload_name = "VP8"; in RunTest()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio_unittest.cc90 const char payload_name[] = "PAYLOAD_NAME"; in TEST_F() local
93 payload_name, payload_type, 48000, 0, 1500)); in TEST_F()
110 const char payload_name[] = "PAYLOAD_NAME"; in TEST_F() local
113 payload_name, payload_type, 48000, 0, 1500)); in TEST_F()
135 const char payload_name[] = "audio"; in TEST_F() local
138 payload_name, payload_type, 48000, 0, 1500)); in TEST_F()
153 const char payload_name[] = "audio"; in TEST_F() local
156 payload_name, payload_type, 48000, 0, 1500)); in TEST_F()
Drtp_sender_audio.cc63 int32_t RTPSenderAudio::RegisterAudioPayload(absl::string_view payload_name, in RegisterAudioPayload() argument
68 if (absl::EqualsIgnoreCase(payload_name, "cn")) { in RegisterAudioPayload()
87 } else if (absl::EqualsIgnoreCase(payload_name, "telephone-event")) { in RegisterAudioPayload()
94 } else if (payload_name == "audio") { in RegisterAudioPayload()
Drtp_sender_audio.h37 int32_t RegisterAudioPayload(absl::string_view payload_name,
/external/webrtc/rtc_tools/rtp_generator/
Drtp_generator.cc98 &config.rtp.payload_name)) { in ParseVideoSendStreamConfig()
102 if (!IsValidCodecType(config.rtp.payload_name)) { in ParseVideoSendStreamConfig()
108 GetDefaultTypeForPayloadName(config.rtp.payload_name); in ParseVideoSendStreamConfig()
188 PayloadStringToCodecType(video_config.rtp.payload_name); in RtpGenerator()
189 if (video_config.rtp.payload_name == cricket::kVp8CodecName) { in RtpGenerator()
193 } else if (video_config.rtp.payload_name == cricket::kVp9CodecName) { in RtpGenerator()
197 } else if (video_config.rtp.payload_name == cricket::kH264CodecName) { in RtpGenerator()
202 encoder_config.video_format.name = video_config.rtp.payload_name; in RtpGenerator()
221 video_config.rtp.payload_name, /*max qp*/ 56, /*screencast*/ false, in RtpGenerator()
/external/webrtc/video/
Dquality_scaling_tests.cc58 const std::string& payload_name,
69 const std::string& payload_name, in RunTest() argument
79 const std::string& payload_name, in RunTest() argument
86 payload_name_(payload_name), in RunTest()
116 send_config->rtp.payload_name = payload_name_; in RunTest()
136 } test(encoder_factory, payload_name, start_bps, automatic_resize, in RunTest()
Dpicture_id_tests.cc224 const std::string& payload_name);
241 const std::string& payload_name) { in SetupEncoder() argument
243 new PictureIdObserver(PayloadStringToCodecType(payload_name))); in SetupEncoder()
246 RTC_FROM_HERE, task_queue(), [this, encoder_factory, payload_name]() { in SetupEncoder()
260 GetVideoSendConfig()->rtp.payload_name = payload_name; in SetupEncoder()
262 PayloadStringToCodecType(payload_name); in SetupEncoder()
Dsend_statistics_proxy.cc68 const std::string& payload_name) { in PayloadNameToHistogramCodecType() argument
69 VideoCodecType codecType = PayloadStringToCodecType(payload_name); in PayloadNameToHistogramCodecType()
82 void UpdateCodecTypeHistogram(const std::string& payload_name) { in UpdateCodecTypeHistogram() argument
84 PayloadNameToHistogramCodecType(payload_name), in UpdateCodecTypeHistogram()
137 payload_name_(config.rtp.payload_name), in SendStatisticsProxy()
/external/webrtc/modules/audio_coding/acm2/
Dacm_send_test.cc61 bool AcmSendTestOldApi::RegisterCodec(const char* payload_name, in RegisterCodec() argument
66 SdpAudioFormat format(payload_name, clockrate_hz, num_channels); in RegisterCodec()
67 if (absl::EqualsIgnoreCase(payload_name, "g722")) { in RegisterCodec()
70 } else if (absl::EqualsIgnoreCase(payload_name, "opus")) { in RegisterCodec()
Dacm_send_test.h39 bool RegisterCodec(const char* payload_name,
/external/webrtc/test/
Dencoder_settings.cc151 const std::string& payload_name) { in CreateMatchingDecoder() argument
154 decoder.video_format = SdpVideoFormat(payload_name); in CreateMatchingDecoder()
161 config.rtp.payload_name); in CreateMatchingDecoder()
Dencoder_settings.h58 const std::string& payload_name);
/external/autotest/client/site_tests/logging_CrashSender/
Dlogging_CrashSender.py36 def _check_send_result(self, result, report_kind, payload_name, argument
54 desired_payload = self.get_crash_dir_name(payload_name)
/external/webrtc/media/engine/
Dfake_webrtc_call.cc234 if (config_.rtp.payload_name == "VP8") { in ReconfigureVideoEncoder()
241 } else if (config_.rtp.payload_name == "VP9") { in ReconfigureVideoEncoder()
248 } else if (config_.rtp.payload_name == "H264") { in ReconfigureVideoEncoder()
255 << config_.rtp.payload_name; in ReconfigureVideoEncoder()
/external/webrtc/call/
Drtp_config.h110 std::string payload_name; member
Dbitrate_estimator_tests.cc132 video_send_config.rtp.payload_name = "FAKE"; in SetUp()
197 SdpVideoFormat(test_->GetVideoSendConfig()->rtp.payload_name);
Drtp_video_sender.cc58 bool PayloadTypeSupportsSkippingFecPackets(const std::string& payload_name, in PayloadTypeSupportsSkippingFecPackets() argument
60 const VideoCodecType codecType = PayloadStringToCodecType(payload_name); in PayloadTypeSupportsSkippingFecPackets()
105 !PayloadTypeSupportsSkippingFecPackets(rtp_config.payload_name, trials)) { in ShouldDisableRedAndUlpfec()
310 return PayloadStringToCodecType(config.payload_name); in GetVideoCodecType()
/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_legacy.cc631 decoder->set_name(d.payload_name); in EncodeVideoReceiveStreamConfig()
671 encoder->set_name(codec.payload_name); in EncodeVideoSendStreamConfig()
678 << codec.payload_name; in EncodeVideoSendStreamConfig()

12