MixedStreamConfig constructor

MixedStreamConfig({
  1. required String roomId,
  2. required String userId,
  3. required List<MixedStreamLayoutRegionConfig> regions,
  4. MixedStreamVideoConfig? videoConfig,
  5. MixedStreamAudioConfig? audioConfig,
  6. MixedStreamControlConfig? controlConfig,
  7. MixedStreamSpatialAudioConfig? spatialAudioConfig,
  8. String backgroundColor = '#000000',
  9. String userConfigExtraInfo = '',
  10. String backgroundImageUrl = '',
  11. dynamic advancedConfig,
  12. dynamic authInfo,
  13. InterpolationMode interpolationMode = $p.InterpolationMode.last_frame_fill,
  14. StreamLayoutMode layoutMode = $p.StreamLayoutMode.auto,
  15. MixedStreamPushTargetType pushTargetType = $p.MixedStreamPushTargetType.push_to_cdn,
})

Implementation

MixedStreamConfig({
  required this.roomId,
  required this.userId,
  required this.regions,
  this.videoConfig,
  this.audioConfig,
  this.controlConfig,
  this.spatialAudioConfig,
  this.backgroundColor = '#000000',
  this.userConfigExtraInfo = '',
  this.backgroundImageUrl = '',
  this.advancedConfig,
  this.authInfo,
  this.interpolationMode = $p.InterpolationMode.last_frame_fill,
  this.layoutMode = $p.StreamLayoutMode.auto,
  this.pushTargetType = $p.MixedStreamPushTargetType.push_to_cdn,
});