MTVideoTrack constructor
MTVideoTrack({
- Key? key,
- required VideoTrack? videoTrack,
- required AudioTrack? audioTrack,
- RTCVideoViewObjectFit fit = rtc.RTCVideoViewObjectFit.RTCVideoViewObjectFitContain,
- VideoViewMirrorMode mirrorMode = VideoViewMirrorMode.auto,
- 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,
});