MixedStreamLayoutRegionConfig constructor
MixedStreamLayoutRegionConfig({
- String userId = '',
- String roomId = '',
- int locationX = 0,
- int locationY = 0,
- int width = 360,
- int height = 640,
- int zOrder = 0,
- double alpha = 1.0,
- double cornerRadius = 0.0,
- MixedStreamMediaType mediaType = $p.MixedStreamMediaType.audioAndVideo,
- MixedStreamRenderMode renderMode = $p.MixedStreamRenderMode.hidden,
- bool isLocalUser = false,
- MixedStreamVideoType streamType = $p.MixedStreamVideoType.main,
- MixedStreamLayoutRegionType regionContentType = $p.MixedStreamLayoutRegionType.videoStream,
- Uint8List? imageWaterMark,
- MixedStreamAlternateImageFillMode alternateImageFillMode = $p.MixedStreamAlternateImageFillMode.fit,
- SourceCrop? sourceCrop,
- String alternateImageUrl = '',
- Position? spatialPosition,
- MixedStreamLayoutRegionImageWaterMarkConfig? imageWaterMarkConfig,
- bool applySpatialAudio = true,
Implementation
MixedStreamLayoutRegionConfig({
this.userId = '',
this.roomId = '',
this.locationX = 0,
this.locationY = 0,
this.width = 360,
this.height = 640,
this.zOrder = 0,
this.alpha = 1.0,
this.cornerRadius = 0.0,
this.mediaType = $p.MixedStreamMediaType.audioAndVideo,
this.renderMode = $p.MixedStreamRenderMode.hidden,
this.isLocalUser = false,
this.streamType = $p.MixedStreamVideoType.main,
this.regionContentType = $p.MixedStreamLayoutRegionType.videoStream,
this.imageWaterMark,
this.alternateImageFillMode = $p.MixedStreamAlternateImageFillMode.fit,
this.sourceCrop,
this.alternateImageUrl = '',
this.spatialPosition,
this.imageWaterMarkConfig,
this.applySpatialAudio = true,
});