modules/video_coding/main/source/video_sender.cc
int32_t VideoSender::InitializeSender() {
  DCHECK(main_thread_.CalledOnValidThread());
  CriticalSectionScoped cs(_sendCritSect);
  _codecDataBase.ResetSender();
  _encoder = NULL;
  _encodedFrameCallback.SetTransportCallback(NULL);
  _mediaOpt.Reset();  // Resetting frame dropper
  return VCM_OK;
}
// Reset send side to initial state - all components
Reset send side to initial state - all components
Reset send side to initial state - all components
int32_t VideoSender::InitializeSender() {
  DCHECK(main_thread_.CalledOnValidThread());
  CriticalSectionScoped cs(_sendCritSect);
  _codecDataBase.ResetSender();
  _encoder = NULL;
  _encodedFrameCallback.SetTransportCallback(NULL);
  _mediaOpt.Reset();  
  return VCM_OK;
}
int32_t VideoSender :: InitializeSender ( ) { DCHECK ( main_thread_ . CalledOnValidThread ( ) ) ; CriticalSectionScoped cs ( _sendCritSect ) ; _codecDataBase . ResetSender ( ) ; _encoder = NULL ; _encodedFrameCallback . SetTransportCallback ( NULL ) ; _mediaOpt . Reset ( ) ; return VCM_OK ; }
Reset send side to initial state - all components
Reset send side to initial state - all components
// Resetting frame dropper