Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry.cc39 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in RegisterReceivePayload()
46 assert(payload_name); in RegisterReceivePayload()
68 size_t payload_name_length = strlen(payload_name); in RegisterReceivePayload()
87 payload->name, payload_name, payload_name_length)) { in RegisterReceivePayload()
100 payload_name, payload_name_length, frequency, channels, rate); in RegisterReceivePayload()
106 if (RtpUtility::StringCompare(payload_name, "red", 3)) { in RegisterReceivePayload()
111 strncpy(payload->name, payload_name, RTP_PAYLOAD_NAME_SIZE - 1); in RegisterReceivePayload()
112 } else if (RtpUtility::StringCompare(payload_name, "ulpfec", 3)) { in RegisterReceivePayload()
117 strncpy(payload->name, payload_name, RTP_PAYLOAD_NAME_SIZE - 1); in RegisterReceivePayload()
121 payload_name, payload_type, frequency, channels, rate); in RegisterReceivePayload()
[all …]
Drtp_receiver_impl.cc99 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in RegisterReceivePayload()
111 payload_name, payload_type, frequency, channels, rate, in RegisterReceivePayload()
114 if (rtp_media_receiver_->OnNewPayloadTypeCreated(payload_name, payload_type, in RegisterReceivePayload()
116 LOG(LS_ERROR) << "Failed to register payload: " << payload_name << "/" in RegisterReceivePayload()
268 char payload_name[RTP_PAYLOAD_NAME_SIZE]; in CheckSSRCChanged() local
300 payload_name[RTP_PAYLOAD_NAME_SIZE - 1] = 0; in CheckSSRCChanged()
301 strncpy(payload_name, payload->name, RTP_PAYLOAD_NAME_SIZE - 1); in CheckSSRCChanged()
320 id_, rtp_header.payloadType, payload_name, in CheckSSRCChanged()
344 char payload_name[RTP_PAYLOAD_NAME_SIZE]; in CheckPayloadChanged() local
391 payload_name[RTP_PAYLOAD_NAME_SIZE - 1] = 0; in CheckPayloadChanged()
[all …]
Drtp_receiver_audio.cc157 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in OnNewPayloadTypeCreated()
162 if (RtpUtility::StringCompare(payload_name, "telephone-event", 15)) { in OnNewPayloadTypeCreated()
165 if (RtpUtility::StringCompare(payload_name, "cn", 2)) { in OnNewPayloadTypeCreated()
272 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in InvokeOnInitializeDecoder()
276 payload_name, in InvokeOnInitializeDecoder()
281 << payload_name << "/" << payload_type; in InvokeOnInitializeDecoder()
Drtp_receiver_audio.h72 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
80 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
87 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
Drtp_receiver_video.cc44 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in OnNewPayloadTypeCreated()
97 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in InvokeOnInitializeDecoder()
102 id, payload_type, payload_name, kVideoPayloadTypeFrequency, 1, 0)) { in InvokeOnInitializeDecoder()
Drtp_sender_unittest.cc739 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
741 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, in TEST_F()
826 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
828 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, in TEST_F()
881 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
885 rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, 0, 1500)); in TEST_F()
965 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "GENERIC"; in TEST_F() local
967 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 90000, in TEST_F()
1014 char payload_name[RTP_PAYLOAD_NAME_SIZE] = "PAYLOAD_NAME"; in TEST_F() local
1016 ASSERT_EQ(0, rtp_sender_->RegisterPayload(payload_name, payload_type, 48000, in TEST_F()
[all …]
Drtp_receiver_video.h47 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
55 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
Drtp_receiver_strategy.h75 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
Drtp_receiver_impl.h38 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
Drtp_sender.cc224 const char payload_name[RTP_PAYLOAD_NAME_SIZE], in RegisterPayload()
227 assert(payload_name); in RegisterPayload()
240 payload->name, payload_name, RTP_PAYLOAD_NAME_SIZE - 1)) { in RegisterPayload()
258 ret_val = audio_->RegisterAudioPayload(payload_name, payload_number, in RegisterPayload()
261 ret_val = video_->RegisterVideoPayload(payload_name, payload_number, rate, in RegisterPayload()
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Daudio_coding_module.cc45 int AudioCodingModule::Codec(const char* payload_name, in Codec() argument
53 payload_name, sampling_freq_hz, channels); in Codec()
76 int AudioCodingModule::Codec(const char* payload_name, in Codec() argument
79 return acm2::ACMCodecDB::CodecId(payload_name, sampling_freq_hz, channels); in Codec()
Dacm_send_test_oldapi.cc48 bool AcmSendTestOldApi::RegisterCodec(const char* payload_name, in RegisterCodec() argument
55 payload_name, &codec_, sampling_freq_hz, channels)); in RegisterCodec()
Dacm_codec_database.cc510 int ACMCodecDB::CodecId(const char* payload_name, int frequency, int channels) { in CodecId() argument
519 name_match = (STR_CASE_CMP(database_[id].plname, payload_name) == 0); in CodecId()
522 if (STR_CASE_CMP(payload_name, "opus") != 0) { in CodecId()
Dacm_send_test_oldapi.h37 bool RegisterCodec(const char* payload_name,
Dacm_codec_database.h267 static int CodecId(const char* payload_name, int frequency, int channels);
/external/chromium_org/third_party/webrtc/test/
Dencoder_settings.cc62 strcpy(codec.plName, encoder_settings.payload_name.c_str()); in CreateDecoderVideoCodec()
63 if (encoder_settings.payload_name == "VP8") { in CreateDecoderVideoCodec()
65 } else if (encoder_settings.payload_name == "H264") { in CreateDecoderVideoCodec()
Dcall_test.cc91 send_config_.encoder_settings.payload_name = "FAKE"; in CreateSendConfig()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dcodec.cc177 const char* payload_name = name.c_str(); in GetCodecType() local
178 if (_stricmp(payload_name, kRedCodecName) == 0) { in GetCodecType()
181 if (_stricmp(payload_name, kUlpfecCodecName) == 0) { in GetCodecType()
184 if (_stricmp(payload_name, kRtxCodecName) == 0) { in GetCodecType()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/interface/
Drtp_payload_registry.h59 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
70 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
142 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
Drtp_receiver.h61 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
/external/chromium_org/third_party/webrtc/video/
Dvideo_send_stream.cc34 ss << "{payload_name: " << payload_name; in ToString()
306 if (config_.encoder_settings.payload_name == "VP8") { in ReconfigureVideoEncoder()
308 } else if (config_.encoder_settings.payload_name == "H264") { in ReconfigureVideoEncoder()
341 config_.encoder_settings.payload_name.c_str(), in ReconfigureVideoEncoder()
Dloopback.cc130 send_config.encoder_settings.payload_name = flags::Codec(); in Loopback()
Dreplay.cc213 encoder_settings.payload_name = flags::Codec(); in RtpReplay()
/external/chromium_org/third_party/webrtc/
Dvideo_send_stream.h65 std::string payload_name; member
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/interface/
Daudio_coding_module.h154 static int Codec(const char* payload_name, CodecInst* codec,
173 static int Codec(const char* payload_name, int sampling_freq_hz,

12