getStreamInfo
Gets detailed information about a media stream.
virtual int getStreamInfo(int64_t index, media::base::PlayerStreamInfo* info) = 0;
Timing
Call this method after calling the getStreamCount method.
Parameters
- index
- Index of the media stream. This parameter must be less than the
countvalue returned by getStreamCount. - info
- Output parameter, detailed information about the media stream. See PlayerStreamInfo.
Return Values
- 0: Success.
- < 0: Failure.