ZegoAudioVideoService mixin

Mixin Applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enableTrafficControl(bool enabled, List<ZegoUIKitTrafficControlProperty> properties, {ZegoUIKitVideoConfig? minimizeVideoConfig, bool isFocusOnRemote = true, ZegoStreamType streamType = ZegoStreamType.main}) Future<void>
enableVideoMirroring(bool isVideoMirror) → void
set video mirror mode
getAudioOutputDeviceNotifier(String userID) ValueNotifier<ZegoUIKitAudioRoute>
get audio output device notifier
getAudioVideoList() List<ZegoUIKitUser>
get audio video list
getAudioVideoListStream() Stream<List<ZegoUIKitUser>>
getAudioVideoViewNotifier(String? userID, {ZegoStreamType streamType = ZegoStreamType.main}) ValueNotifier<Widget?>
get audio video view notifier
getCameraStateNotifier(String userID) ValueNotifier<bool>
get camera state notifier
getMediaList() List<ZegoUIKitUser>
get media list
getMediaListStream() Stream<List<ZegoUIKitUser>>
getMicrophoneStateNotifier(String userID) ValueNotifier<bool>
get microphone state notifier
getReceiveCustomSEIStream() Stream<ZegoUIKitReceiveSEIEvent>
getReceiveSEIStream() Stream<ZegoUIKitReceiveSEIEvent>
getScreenSharingList() List<ZegoUIKitUser>
get screen sharing list
getScreenSharingListStream() Stream<List<ZegoUIKitUser>>
getScreenSharingStateNotifier() ValueNotifier<bool>
get screen share notifier
getSoundLevelStream(String userID) Stream<double>
get sound level notifier
getUseFrontFacingCameraStateNotifier(String userID) ValueNotifier<bool>
get front facing camera switch notifier
getVideoSizeNotifier(String userID) ValueNotifier<Size>
get video size notifier
muteUserAudio(String userID, bool mute) Future<bool>
When the mute is set to true, it means that the device is not actually turned off, but muted. The default value is false, which means the device is turned off. When either the camera or the microphone is muted, the audio and video views will still be visible.
muteUserAudioVideo(String userID, bool mute) Future<bool>
When the mute is set to true, it means that the device is not actually turned off, but muted. The default value is false, which means the device is turned off. When either the camera or the microphone is muted, the audio and video views will still be visible.
muteUserVideo(String userID, bool mute) Future<bool>
When the mute is set to true, it means that the device is not actually turned off, but muted. The default value is false, which means the device is turned off. When either the camera or the microphone is muted, the audio and video views will still be visible.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCustomSEI(Map<String, dynamic> seiData, {ZegoStreamType streamType = ZegoStreamType.main}) Future<bool>
MUST call after pushing the stream(turn on camera of microphone) SEI data will transmit by the audio and video stream
setAudioOutputToSpeaker(bool isSpeaker) → void
set audio output to speaker
setAudioVideoResourceMode(ZegoAudioVideoResourceMode mode) → void
setVideoConfig(ZegoUIKitVideoConfig config, {ZegoStreamType streamType = ZegoStreamType.main}) Future<void>
update video config
startPlayAllAudioVideo() Future<void>
start play all audio video
startSharingScreen() Future<void>
start share screen
stopPlayAllAudioVideo() Future<void>
stop play all audio video
stopSharingScreen() Future<void>
stop share screen
toString() String
A string representation of this object.
inherited
turnCameraOn(bool isOn, {String? userID}) → void
turn on/off camera
turnMicrophoneOn(bool isOn, {String? userID, bool muteMode = false}) → void
turn on/off microphone
updateAppOrientation(DeviceOrientation orientation) → void
update app orientation
updateTextureRendererOrientation(Orientation orientation) → void
update texture render orientation
updateVideoViewMode(bool useVideoViewAspectFill) → void
update video view mode
useFrontFacingCamera(bool isFrontFacing) → void
local use front facing camera

Operators

operator ==(Object other) bool
The equality operator.
inherited