audioSubscribeStateChanged property Null safety
read / write
Occurs when the audio subscribing state changes.
This callback indicates the subscribing state change of a remote audio stream.
StreamSubscribeStateCallback typedef includes the following parameters:
channel: The channel name.
uid: ID of the user.
oldState: The previous publishing state. See StreamPublishState.
newState: The current publishing state. See StreamPublishState.
elapseSinceLastState: The time elapsed (ms) from the previous state to the current state.