Home
last modified time | relevance | path

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

/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc393 for (const CodecPref& codec_pref : kCodecPrefs) { in SetPTimeAsPacketSize() local
394 if ((IsCodec(*codec, codec_pref.name) && in SetPTimeAsPacketSize()
395 codec_pref.clockrate == codec->plfreq) || in SetPTimeAsPacketSize()
397 int packet_size_ms = SelectPacketSize(codec_pref, ptime_ms); in SetPTimeAsPacketSize()
421 static int SelectPacketSize(const CodecPref& codec_pref, int ptime_ms) { in SelectPacketSize() argument
422 int selected_packet_size_ms = codec_pref.packet_sizes_ms[0]; in SelectPacketSize()
423 for (int packet_size_ms : codec_pref.packet_sizes_ms) { in SelectPacketSize()