getAudioMixingPublishVolume method Null safety

Future<int?> getAudioMixingPublishVolume()

Gets the audio mixing volume for publishing.

This method helps troubleshoot audio volume related issues.

Note

Call this method after calling startAudioMixing and receiving the audioMixingStateChanged(Playing) callback.

Returns

  • The audio mixing volume for publishing, if the method call is successful. The value range is 0,100.
  • Error code, if the method call fails.

Implementation

@override
Future<int?> getAudioMixingPublishVolume() {
  return _invokeMethod('getAudioMixingPublishVolume');
}