getAudioMixingPublishVolume abstract method

Future<int> getAudioMixingPublishVolume()

Gets the remote playback volume of the music file.

This interface helps developers troubleshoot volume-related issues. You need to call this method after calling startAudioMixing and receiving the onAudioMixingStateChanged(audioMixingStatePlaying) callback.

Returns ≥ 0: The method call succeeds and returns the volume value, range is 0,100. < 0: The method call fails. See Error Codes for details and resolution suggestions.

Implementation

Future<int> getAudioMixingPublishVolume();