NERoomUserVideoView constructor

NERoomUserVideoView(
  1. String userId, {
  2. Key? key,
  3. NERoomUserVideoViewListener? listener,
  4. bool mirror = false,
  5. int streamType = NERtcRemoteVideoStreamType.low,
  6. NERtcVideoViewFitType fitType = NERtcVideoViewFitType.contain,
  7. Color backgroundColor = const Color(0xFF292933),
})

正常流

Implementation

NERoomUserVideoView(
    this.userId, {
      Key? key,
      this.listener,
      this.mirror = false,
      this.streamType = NERtcRemoteVideoStreamType.low,
      this.fitType = NERtcVideoViewFitType.contain,
      this.backgroundColor = const Color(0xFF292933),
    })  : subStream = false,
      super(key: key ?? _UserVideoKey(userId, false));