setProfile method
Uses the settings from a CamcorderProfile object for recording.
This method should be called after the video AND audio sources are set, and before setOutputFilePath. If a time lapse CamcorderProfile is used, audio related source or recording parameters are ignored.
Implementation
Future<void> setProfile(CamcorderProfile profile) {
return _channel.$setProfile(this, profile);
}