MixedStreamLayoutRegionConfig constructor

MixedStreamLayoutRegionConfig({
  1. String userId = '',
  2. String roomId = '',
  3. int locationX = 0,
  4. int locationY = 0,
  5. int width = 360,
  6. int height = 640,
  7. int zOrder = 0,
  8. double alpha = 1.0,
  9. double cornerRadius = 0.0,
  10. MixedStreamMediaType mediaType = $p.MixedStreamMediaType.audioAndVideo,
  11. MixedStreamRenderMode renderMode = $p.MixedStreamRenderMode.hidden,
  12. bool isLocalUser = false,
  13. MixedStreamVideoType streamType = $p.MixedStreamVideoType.main,
  14. MixedStreamLayoutRegionType regionContentType = $p.MixedStreamLayoutRegionType.videoStream,
  15. Uint8List? imageWaterMark,
  16. MixedStreamAlternateImageFillMode alternateImageFillMode = $p.MixedStreamAlternateImageFillMode.fit,
  17. SourceCrop? sourceCrop,
  18. String alternateImageUrl = '',
  19. Position? spatialPosition,
  20. MixedStreamLayoutRegionImageWaterMarkConfig? imageWaterMarkConfig,
  21. 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,
});