MTVideoTrack constructor

MTVideoTrack({
  1. Key? key,
  2. required VideoTrack? videoTrack,
  3. required AudioTrack? audioTrack,
  4. RTCVideoViewObjectFit fit = rtc.RTCVideoViewObjectFit.RTCVideoViewObjectFitContain,
  5. VideoViewMirrorMode mirrorMode = VideoViewMirrorMode.auto,
  6. VideoRenderMode renderMode = VideoRenderMode.auto,
})

Implementation

MTVideoTrack({
  super.key,
  required this.videoTrack,
  required this.audioTrack,
  this.fit = rtc.RTCVideoViewObjectFit.RTCVideoViewObjectFitContain,
  this.mirrorMode = VideoViewMirrorMode.auto,
  this.renderMode = VideoRenderMode.auto,
});