ZegoExpressEnginePlayer extension

on

Methods

enableCheckPoc(bool enable) → Future<void>
Enables or disables frame order detection.
enableHardwareDecoder(bool enable) → Future<void>
Enables or disables hardware decoding.
enableVideoSuperResolution(String streamID, bool enable) → Future<void>
Enable video super resolution.
initVideoSuperResolution() → Future<void>
Init video super resolution.
isVideoDecoderSupported(ZegoVideoCodecID codecID, {ZegoVideoCodecBackend? codecBackend}) → Future<int>
Whether the specified video decoding format is supported.
muteAllPlayAudioStreams(bool mute) → Future<void>
Can the pull stream receive all audio data.
muteAllPlayStreamAudio(bool mute) → Future<void>
Can the pull stream receive all audio data.
muteAllPlayStreamVideo(bool mute) → Future<void>
Can the pull stream receive all video data.
muteAllPlayVideoStreams(bool mute) → Future<void>
Can the pull stream receive all video data.
mutePlayStreamAudio(String streamID, bool mute) → Future<void>
Whether the pull stream can receive the specified audio data.
mutePlayStreamVideo(String streamID, bool mute) → Future<void>
Whether the pull stream can receive the specified video data.
setAllPlayStreamVolume(int volume) → Future<void>
Sets the all stream playback volume.
setPlayStreamBufferIntervalRange(String streamID, int minBufferInterval, int maxBufferInterval) → Future<void>
Set the adaptive adjustment interval range of the buffer for playing stream.
setPlayStreamCrossAppInfo(String streamID, ZegoCrossAppInfo info) → Future<void>
Set up cross App playing stream information.
setPlayStreamDecryptionKey(String streamID, String key) → Future<void>
Set decryption key for the playing stream.
setPlayStreamFocusOn(String streamID) → Future<void>
Set the weight of the pull stream priority.
setPlayStreamsAlignmentProperty(ZegoStreamAlignmentMode mode) → Future<void>
Set the play stream alignment properties.
setPlayStreamVideoType(String streamID, ZegoVideoStreamType streamType) → Future<void>
Set play video stream type.
setPlayVolume(String streamID, int volume) → Future<void>
Sets the stream playback volume.
startPlayingStream(String streamID, {ZegoCanvas? canvas, ZegoPlayerConfig? config}) → Future<void>
Starts playing a stream from ZEGO RTC server or from third-party CDN. Support multi-room mode.
stopPlayingStream(String streamID) → Future<void>
Stops playing a stream.
switchPlayingStream(String fromStreamID, String toStreamID, ZegoPlayerConfig config) → Future<void>
Switch from playing a certain stream to playing another stream.
takePlayStreamSnapshot(String streamID) → Future<ZegoPlayerTakeSnapshotResult>
Take a snapshot of the playing stream.
uninitVideoSuperResolution() → Future<void>
Uninit video super resolution.
updatePlayingCanvas(String streamID, ZegoCanvas canvas) → Future<int>
Update playing canvas.