ZegoLiveStreamingAudioVideoViewConfig constructor

ZegoLiveStreamingAudioVideoViewConfig({
  1. bool isVideoMirror = true,
  2. bool showUserNameOnView = true,
  3. bool showAvatarInAudioMode = true,
  4. bool showSoundWavesInAudioMode = true,
  5. bool useVideoViewAspectFill = true,
  6. bool visible(
    1. ZegoUIKitUser localUser,
    2. ZegoLiveStreamingRole localRole,
    3. ZegoUIKitUser targetUser,
    4. ZegoLiveStreamingRole targetUserRole,
    )?,
  7. ZegoPlayCoHostAudioVideoCallback? playCoHostAudio,
  8. ZegoPlayCoHostAudioVideoCallback? playCoHostVideo,
  9. ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
  10. ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
  11. ZegoLiveStreamingAudioVideoContainerBuilder? containerBuilder,
  12. Rect containerRect()?,
})

Implementation

ZegoLiveStreamingAudioVideoViewConfig({
  this.isVideoMirror = true,
  this.showUserNameOnView = true,
  this.showAvatarInAudioMode = true,
  this.showSoundWavesInAudioMode = true,
  this.useVideoViewAspectFill = true,
  this.visible,
  this.playCoHostAudio,
  this.playCoHostVideo,
  this.foregroundBuilder,
  this.backgroundBuilder,
  this.containerBuilder,
  this.containerRect,
});