setVideoTrack method
Sets the current VideoTrack for video output.
- Currently selected VideoTrack can be accessed using
state.track.video
orstream.track.video
. - The list of currently available VideoTracks can be obtained accessed using
state.tracks.video
orstream.tracks.video
.
Implementation
Future<void> setVideoTrack(VideoTrack track) async {
return platform?.setVideoTrack(track);
}