getStreamCount abstract method
Gets the number of media streams in the current media file.
Call this method after open and after receiving the onPlayerSourceStateChanged callback reporting the playback state as playerStateOpenCompleted.
Returns If the method call succeeds, returns the number of media streams in the media file. < 0: The method call fails. See MediaPlayerReason.
Implementation
Future<int> getStreamCount();