Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_receiver_impl.cc96 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in RegisterReceivePayload()
108 payload_name, payload_type, frequency, channels, rate, in RegisterReceivePayload()
111 if (rtp_media_receiver_->OnNewPayloadTypeCreated(payload_name, payload_type, in RegisterReceivePayload()
113 LOG(LS_ERROR) << "Failed to register payload: " << payload_name << "/" in RegisterReceivePayload()
254 char payload_name[RTP_PAYLOAD_NAME_SIZE]; in CheckSSRCChanged() local
283 payload_name[RTP_PAYLOAD_NAME_SIZE - 1] = 0; in CheckSSRCChanged()
284 strncpy(payload_name, payload->name, RTP_PAYLOAD_NAME_SIZE - 1); in CheckSSRCChanged()
304 rtp_header.payloadType, payload_name, in CheckSSRCChanged()
326 char payload_name[RTP_PAYLOAD_NAME_SIZE]; in CheckPayloadChanged() local
372 payload_name[RTP_PAYLOAD_NAME_SIZE - 1] = 0; in CheckPayloadChanged()
[all …]
Drtp_payload_registry.cc40 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in RegisterReceivePayload()
47 assert(payload_name); in RegisterReceivePayload()
69 size_t payload_name_length = strlen(payload_name); in RegisterReceivePayload()
88 payload->name, payload_name, payload_name_length)) { in RegisterReceivePayload()
102 payload_name, payload_name_length, frequency, channels, rate); in RegisterReceivePayload()
106 payload_name, payload_type, frequency, channels, rate); in RegisterReceivePayload()
111 if (RtpUtility::StringCompare(payload_name, "red", 3)) { in RegisterReceivePayload()
113 } else if (RtpUtility::StringCompare(payload_name, "ulpfec", 6)) { in RegisterReceivePayload()
139 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType()
151 payload->name, payload_name, payload_name_length)) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType()
[all …]
Drtp_receiver_audio.cc155 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in OnNewPayloadTypeCreated()
160 if (RtpUtility::StringCompare(payload_name, "telephone-event", 15)) { in OnNewPayloadTypeCreated()
163 if (RtpUtility::StringCompare(payload_name, "cn", 2)) { in OnNewPayloadTypeCreated()
265 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in InvokeOnInitializeDecoder()
269 payload_type, payload_name, specific_payload.Audio.frequency, in InvokeOnInitializeDecoder()
272 << payload_name << "/" << static_cast<int>(payload_type); in InvokeOnInitializeDecoder()
Drtp_receiver_audio.h68 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
75 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
82 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
Drtp_receiver_video.cc46 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in OnNewPayloadTypeCreated()
115 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in InvokeOnInitializeDecoder()
119 callback->OnInitializeDecoder(payload_type, payload_name, in InvokeOnInitializeDecoder()
Drtp_receiver_video.h46 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
53 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
Drtp_sender_unittest.cc923 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
925 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, in TEST_F()
998 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
1000 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, in TEST_F()
1057 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
1059 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, in TEST_F()
1140 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
1142 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, in TEST_F()
1207 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "PAYLOAD_NAME"; in TEST_F() local
1209 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 48000, in TEST_F()
[all …]
Drtp_receiver_strategy.h74 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
/external/webrtc/webrtc/test/
Dencoder_settings.cc60 decoder.payload_name = encoder_settings.payload_name; in CreateMatchingDecoder()
61 if (encoder_settings.payload_name == "VP8") { in CreateMatchingDecoder()
63 } else if (encoder_settings.payload_name == "VP9") { in CreateMatchingDecoder()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module.cc56 int AudioCodingModule::Codec(const char* payload_name, in Codec() argument
61 payload_name, sampling_freq_hz, channels); in Codec()
77 int AudioCodingModule::Codec(const char* payload_name, in Codec() argument
81 acm2::RentACodec::CodecIdByParams(payload_name, sampling_freq_hz, in Codec()
Dacm_codec_database.cc295 int ACMCodecDB::CodecId(const char* payload_name, in CodecId() argument
306 name_match = (STR_CASE_CMP(ci.plname, payload_name) == 0); in CodecId()
309 if (STR_CASE_CMP(payload_name, "opus") != 0) { in CodecId()
Drent_a_codec.cc46 const char* payload_name, in CodecIdByParams() argument
50 ACMCodecDB::CodecId(payload_name, sampling_freq_hz, channels)); in CodecIdByParams()
64 rtc::Optional<CodecInst> RentACodec::CodecInstByParams(const char* payload_name, in CodecInstByParams() argument
68 CodecIdByParams(payload_name, sampling_freq_hz, channels); in CodecInstByParams()
Dacm_send_test_oldapi.cc50 bool AcmSendTestOldApi::RegisterCodec(const char* payload_name, in RegisterCodec() argument
56 RTC_CHECK_EQ(0, AudioCodingModule::Codec(payload_name, &codec, in RegisterCodec()
Drent_a_codec.h163 static rtc::Optional<CodecId> CodecIdByParams(const char* payload_name,
168 static rtc::Optional<CodecInst> CodecInstByParams(const char* payload_name,
Dacm_codec_database.h63 static int CodecId(const char* payload_name, int frequency, size_t channels);
Dacm_send_test_oldapi.h38 bool RegisterCodec(const char* payload_name,
/external/webrtc/webrtc/video/
Dsend_statistics_proxy.cc47 const std::string& payload_name) { in PayloadNameToHistogramCodecType() argument
48 if (payload_name == "VP8") { in PayloadNameToHistogramCodecType()
50 } else if (payload_name == "VP9") { in PayloadNameToHistogramCodecType()
52 } else if (payload_name == "H264") { in PayloadNameToHistogramCodecType()
59 void UpdateCodecTypeHistogram(const std::string& payload_name) { in UpdateCodecTypeHistogram() argument
61 PayloadNameToHistogramCodecType(payload_name), kVideoMax); in UpdateCodecTypeHistogram()
78 UpdateCodecTypeHistogram(config_.encoder_settings.payload_name); in SendStatisticsProxy()
Dvideo_receive_stream.cc41 ss << ", payload_name: " << payload_name; in ToString()
113 strncpy(codec.plName, decoder.payload_name.c_str(), sizeof(codec.plName)); in CreateDecoderVideoCodec()
114 if (decoder.payload_name == "VP8") { in CreateDecoderVideoCodec()
116 } else if (decoder.payload_name == "VP9") { in CreateDecoderVideoCodec()
118 } else if (decoder.payload_name == "H264") { in CreateDecoderVideoCodec()
Dvideo_send_stream.cc42 ss << "{payload_name: " << payload_name; in ToString()
307 if (config_.encoder_settings.payload_name == "VP8") { in ReconfigureVideoEncoder()
309 } else if (config_.encoder_settings.payload_name == "VP9") { in ReconfigureVideoEncoder()
311 } else if (config_.encoder_settings.payload_name == "H264") { in ReconfigureVideoEncoder()
373 config_.encoder_settings.payload_name.c_str(), in ReconfigureVideoEncoder()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_payload_registry.h61 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
72 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
173 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
/external/webrtc/webrtc/call/
Dpacket_injection_tests.cc48 video_receive_configs_[0].decoders[0].payload_name = "VP8"; in InjectIncorrectPacket()
51 video_receive_configs_[0].decoders[0].payload_name = "H264"; in InjectIncorrectPacket()
Dbitrate_estimator_tests.cc126 video_send_config_.encoder_settings.payload_name = "FAKE"; in SetUp()
201 decoder.payload_name = in Stream()
202 test_->video_send_config_.encoder_settings.payload_name; in Stream()
/external/webrtc/talk/media/base/
Dcodec.cc270 const char* payload_name = name.c_str(); in GetCodecType() local
271 if (_stricmp(payload_name, kRedCodecName) == 0) { in GetCodecType()
274 if (_stricmp(payload_name, kUlpfecCodecName) == 0) { in GetCodecType()
277 if (_stricmp(payload_name, kRtxCodecName) == 0) { in GetCodecType()
/external/webrtc/webrtc/modules/audio_coding/include/
Daudio_coding_module.h136 static int Codec(const char* payload_name, CodecInst* codec,
155 static int Codec(const char* payload_name, int sampling_freq_hz,
/external/webrtc/talk/media/webrtc/
Dfakewebrtccall.cc183 if (config_.encoder_settings.payload_name == "VP8") { in ReconfigureVideoEncoder()
186 } else if (config_.encoder_settings.payload_name == "VP9") { in ReconfigureVideoEncoder()
191 << config_.encoder_settings.payload_name; in ReconfigureVideoEncoder()

12