PlayerStreamInfo class

The detailed information of the media stream.

Annotations
  • @JsonSerializable(explicitToJson: true, includeIfNull: false)

Properties

audioBitsPerSample int?
This parameter only takes effect for audio streams, and indicates the bit number of each audio sample.
final
audioChannels int?
This parameter only takes effect for audio streams, and indicates the audio channel number.
final
audioSampleRate int?
This parameter only takes effect for audio streams, and indicates the audio sample rate (Hz).
final
codecName String?
The codec of the media stream.
final
duration int?
The total duration (ms) of the media stream.
final
hashCode int
The hash code for this object.
no setterinherited
language String?
The language of the media stream.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamIndex int?
The index of the media stream.
final
streamType MediaStreamType?
The type of the media stream. See MediaStreamType.
final
videoBitRate int?
This parameter only takes effect for video streams, and indicates the video bitrate (bps).
final
videoFrameRate int?
This parameter only takes effect for video streams, and indicates the video frame rate (fps).
final
videoHeight int?
This parameter only takes effect for video streams, and indicates the video height (pixel).
final
videoRotation int?
This parameter only takes effect for video streams, and indicates the video rotation angle.
final
videoWidth int?
This parameter only takes effect for video streams, and indicates the video width (pixel).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited