Searched refs:ptime_ms (Results 1 – 1 of 1) sorted by relevance
392 static bool SetPTimeAsPacketSize(webrtc::CodecInst* codec, int ptime_ms) { in SetPTimeAsPacketSize() argument397 int packet_size_ms = SelectPacketSize(codec_pref, ptime_ms); in SetPTimeAsPacketSize()421 static int SelectPacketSize(const CodecPref& codec_pref, int ptime_ms) { in SelectPacketSize() argument424 if (packet_size_ms && packet_size_ms <= ptime_ms) { in SelectPacketSize()1532 int ptime_ms = 0; in SetSendCodecs() local1533 if (codec.GetParam(kCodecParamPTime, &ptime_ms)) { in SetSendCodecs()1534 if (!WebRtcVoiceCodecs::SetPTimeAsPacketSize(&send_codec, ptime_ms)) { in SetSendCodecs()