Lines Matching defs:vcm
148 VideoCodingModule* vcm = VideoCodingModule::Create();
149 RtpDataCallback dataCallback(vcm);
198 //VCM
199 if (vcm->InitializeReceiver() < 0)
203 if (vcm->InitializeSender())
207 // registering codecs for the VCM module
209 vcm->InitializeSender();
210 int32_t numberOfCodecs = vcm->NumberOfCodecs();
216 if (vcm->Codec(args.codecType, &sendCodec) != 0)
227 vcm->RegisterSendCodec(&sendCodec, numberOfCores, 1440);
228 vcm->RegisterReceiveCodec(&sendCodec, numberOfCores); // same settings for encode and decode
230 vcm->SetRenderDelay(renderDelayMs);
231 vcm->SetMinimumPlayoutDelay(minPlayoutDelayMs);
236 vcm->RegisterPacketRequestCallback(&packetRequester);
239 vcm->RegisterTransportCallback(encodeCompleteCallback);
245 vcm->RegisterReceiveCallback(&receiveCallback);
248 vcm->RegisterProtectionCallback(&protectionCallback);
253 vcm->SetVideoProtection(kProtectionNack, nackEnabled);
254 vcm->SetVideoProtection(kProtectionFEC, fecEnabled);
262 vcm->SetChannelParameters(static_cast<uint32_t>(1000 * bitRate),
265 SharedRTPState mtState(*vcm, *rtp); // receive side
266 SendSharedState mtSendState(*vcm, *rtp, args); // send side
372 VideoCodingModule::Destroy(vcm);
375 vcm = NULL;