start abstract method

Future<int?> start()

Start playing the audio. Call this API when you call RTCMediaPlayer.open and set AutoPlay=False.

Return value:

  • 0: Success.
  • <0: Failure.

Notes: Call RTCMediaPlayer.stop to stop playing the audio file.

Implementation

Future<int?> start();