PlayerStreamInfo
All information about the player media stream.
export class PlayerStreamInfo {
streamIndex?: number;
streamType?: MediaStreamType;
codecName?: string;
language?: string;
videoFrameRate?: number;
videoBitRate?: number;
videoWidth?: number;
videoHeight?: number;
videoRotation?: number;
audioSampleRate?: number;
audioChannels?: number;
audioBitsPerSample?: number;
duration?: number;
}
Properties
- streamIndex
- The index of the media stream.
- streamType
- The type of this media stream. See MediaStreamType.
- codecName
- The codec specification of this media stream.
- language
- The language of this media stream.
- videoFrameRate
- This parameter applies only to video streams and indicates the video frame rate (fps).
- videoBitRate
- This parameter applies only to video streams and indicates the video bitrate (bps).
- videoWidth
- This parameter applies only to video streams and indicates the video width (px).
- videoHeight
- This parameter applies only to video streams and indicates the video height (px).
- videoRotation
- This parameter applies only to video streams and indicates the rotation angle.
- audioSampleRate
- This parameter applies only to audio streams and indicates the audio sample rate (Hz).
- audioChannels
- This parameter applies only to audio streams and indicates the number of channels.
- audioBitsPerSample
- This parameter applies only to audio streams and indicates the number of bits per audio sample (bit).
- duration
- The duration of the media stream (milliseconds).