TRTCStreamMixingConfig constructor

TRTCStreamMixingConfig({
  1. int backgroundColor = 0,
  2. Uint8List? backgroundImage,
  3. List<TRTCVideoLayout>? videoLayoutList,
  4. List<TRTCUser>? audioMixUserList,
  5. List<TRTCWatermark>? watermarkList,
})

Implementation

TRTCStreamMixingConfig({
  this.backgroundColor = 0,
  Uint8List? backgroundImage,
  List<TRTCVideoLayout>? videoLayoutList,
  List<TRTCUser>? audioMixUserList,
  List<TRTCWatermark>? watermarkList,
}) : backgroundImage = backgroundImage ?? Uint8List.fromList([]),
      videoLayoutList = videoLayoutList ?? const <TRTCVideoLayout>[],
      audioMixUserList = audioMixUserList ?? const <TRTCUser>[],
      watermarkList = watermarkList ?? const <TRTCWatermark>[];