AgoraEduMediaHandler

The AgoraEduMediaHandler class contains media-related event callbacks.

onVolumeUpdated

Indicates the volume change of a stream.

void onVolumeUpdated(Int volume,
                     String streamUuid)

Parameter

volume
The volume range.
streamUuid
The stream ID.

onAudioMixingStateChanged

Occurs when the audio mixing state changes.

void onAudioMixingStateChanged(Int stateCode,
                               Int errorCode)

Parameter

stateCode
The audio mixing state code.
errorCode
The audio mixing error code.