Searched refs:codec_index (Results 1 – 2 of 2) sorted by relevance
156 static inline rtc::Optional<CodecId> CodecIdFromIndex(int codec_index) { in CodecIdFromIndex() argument157 return static_cast<size_t>(codec_index) < NumberOfCodecs() in CodecIdFromIndex()159 static_cast<RentACodec::CodecId>(codec_index)) in CodecIdFromIndex()
603 auto codec_index = RentACodec::CodecIndexFromId(*codec_id); in RegisterReceiveCodec() local604 RTC_CHECK(codec_index) << "Invalid codec ID: " << static_cast<int>(*codec_id); in RegisterReceiveCodec()616 *codec_index, codec.pltype, codec.channels, codec.plfreq, in RegisterReceiveCodec()