getStreamCount
Gets the number of media streams in the media resource.
virtual int getStreamCount(int64_t& count) = 0;
Note: Before calling this method, call the open method and wait for the onPlayerSourceStateChanged callback to report the
PLAYER_STATE_OPEN_COMPLETED state.Parameters
- count
- Output parameter, the number of media streams in the media resource. See int64_t
Return Values
- 0: Success.
- < 0: Failure. See MEDIA_PLAYER_REASON.