getStreamInfo

Gets detailed information about a media stream.

MediaStreamInfo getStreamInfo(int index);

After calling getStreamCount, call this method to get detailed information about the media stream at the specified index.

Timing

Call after invoking the getStreamCount method.

Parameters

index
The index of the media stream. This parameter must be less than the return value of getStreamCount.

Return Values

  • If the method call succeeds, returns a MediaStreamInfo object.
  • If the method call fails, returns null.