getCurrentDuration abstract method

Future<int> getCurrentDuration()

Get the playing progress of the current file.

Available since: 2.17.0 Description: Get the playing progress of the current file, in milliseconds. When to call: After received the onMediaDataPublisherFileDataBegin callback.

  • Returns The playing progress of the current file.

Implementation

Future<int> getCurrentDuration();