setVideoSource method
Sets the video source to be used for recording.
If this method is not called, the output file will not contain a video track. The source needs to be specified before setting recording-parameters or encoders. Call this only before setOutputFormat.
Throws PlatformException if it is called after setOutputFormat.
Implementation
Future<void> setVideoSource(int source) =>
_channel.$setVideoSource(this, source);