// An implementation must start capture frames using the resolution in
// |params|. When the source has started or the source failed to start
// OnStartDone must be called. An implementation must call
- // invoke |frame_callback| on the IO thread with the captured frames.
- // TODO(perkj): pass a VideoCaptureFormats instead of VideoCaptureParams for
- // subclasses to customize.
+ // |frame_callback| on the IO thread with the captured frames.
virtual void StartSourceImpl(
- const media::VideoCaptureParams& params,
+ const media::VideoCaptureFormat& format,
const VideoCaptureDeliverFrameCB& frame_callback) = 0;
void OnStartDone(MediaStreamRequestResult result);
void FinalizeAddTrack();
State state_;
- bool muted_state_;
media::VideoCaptureFormat current_format_;