getStreamCount abstract method

Future<int> getStreamCount()

Gets the number of the media streams in the media resource.

Call this method after you call open and receive the onPlayerSourceStateChanged callback reporting the state playerStateOpenCompleted.

Returns The number of the media streams in the media resource if the method call succeeds. < 0: Failure. See MediaPlayerReason.

Implementation

Future<int> getStreamCount();