getVolume abstract method

Future<int?> getVolume([
  1. AudioMixingType type = AudioMixingType.playoutAndPublish
])

Gets the current volume.

Return value:

  • >0: The current volume.
  • <0: Failure.

Call this API only when audio is mixing.

Implementation

Future<int?> getVolume([
  AudioMixingType type = AudioMixingType.playoutAndPublish,
]);