Lines Matching refs:sendCodec
83 int32_t VideoSender::RegisterSendCodec(const VideoCodec* sendCodec, in RegisterSendCodec() argument
88 if (sendCodec == nullptr) { in RegisterSendCodec()
93 _codecDataBase.SetSendCodec(sendCodec, numberOfCores, maxPayloadSize); in RegisterSendCodec()
100 current_codec_ = *sendCodec; in RegisterSendCodec()
104 << sendCodec->plName << "'."; in RegisterSendCodec()
109 if (sendCodec->codecType == kVideoCodecVP8) { in RegisterSendCodec()
110 numLayers = sendCodec->codecSpecific.VP8.numberOfTemporalLayers; in RegisterSendCodec()
111 } else if (sendCodec->codecType == kVideoCodecVP9) { in RegisterSendCodec()
112 numLayers = sendCodec->codecSpecific.VP9.numberOfTemporalLayers; in RegisterSendCodec()
119 numLayers > 1 && sendCodec->mode == kScreensharing; in RegisterSendCodec()
126 _nextFrameTypes.resize(VCM_MAX(sendCodec->numberOfSimulcastStreams, 1), in RegisterSendCodec()
129 _mediaOpt.SetEncodingData(sendCodec->codecType, sendCodec->maxBitrate * 1000, in RegisterSendCodec()
130 sendCodec->startBitrate * 1000, sendCodec->width, in RegisterSendCodec()
131 sendCodec->height, sendCodec->maxFramerate, in RegisterSendCodec()