NERoomUserVideoView.subStream constructor

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

辅流

Implementation

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