Class PlayerStreamInfo

The detailed information of the media stream.

Hierarchy

  • PlayerStreamInfo

Constructors

Properties

audioBitsPerSample?: number

This parameter only takes effect for audio streams, and indicates the bit number of each audio sample.

audioChannels?: number

This parameter only takes effect for audio streams, and indicates the audio channel number.

audioSampleRate?: number

This parameter only takes effect for audio streams, and indicates the audio sample rate (Hz).

codecName?: string

The codec of the media stream.

duration?: number

The total duration (ms) of the media stream.

language?: string

The language of the media stream.

streamIndex?: number

The index of the media stream.

streamType?: MediaStreamType

The type of the media stream. See MediaStreamType.

videoBitRate?: number

This parameter only takes effect for video streams, and indicates the video bitrate (bps).

videoFrameRate?: number

This parameter only takes effect for video streams, and indicates the video frame rate (fps).

videoHeight?: number

This parameter only takes effect for video streams, and indicates the video height (pixel).

videoRotation?: number

This parameter only takes effect for video streams, and indicates the video rotation angle.

videoWidth?: number

This parameter only takes effect for video streams, and indicates the video width (pixel).

Generated using TypeDoc