# PlayerStreamInfo (/zh-CN/api-reference/rtc/flutter/class-playerstreaminfo)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```dart
class PlayerStreamInfo {
const PlayerStreamInfo(
{this.streamIndex,
this.streamType,
this.codecName,
this.language,
this.videoFrameRate,
this.videoBitRate,
this.videoWidth,
this.videoHeight,
this.videoRotation,
this.audioSampleRate,
this.audioChannels,
this.audioBitsPerSample,
this.duration});
@JsonKey(name: 'streamIndex')
final int? streamIndex;
@JsonKey(name: 'streamType')
final MediaStreamType? streamType;
@JsonKey(name: 'codecName')
final String? codecName;
@JsonKey(name: 'language')
final String? language;
@JsonKey(name: 'videoFrameRate')
final int? videoFrameRate;
@JsonKey(name: 'videoBitRate')
final int? videoBitRate;
@JsonKey(name: 'videoWidth')
final int? videoWidth;
@JsonKey(name: 'videoHeight')
final int? videoHeight;
@JsonKey(name: 'videoRotation')
final int? videoRotation;
@JsonKey(name: 'audioSampleRate')
final int? audioSampleRate;
@JsonKey(name: 'audioChannels')
final int? audioChannels;
@JsonKey(name: 'audioBitsPerSample')
final int? audioBitsPerSample;
@JsonKey(name: 'duration')
final int? duration;
factory PlayerStreamInfo.fromJson(Map json) =>
_$PlayerStreamInfoFromJson(json);
Map toJson() => _$PlayerStreamInfoToJson(this);
}
```
## 属性 [#属性]
媒体流的索引值。
此条媒体流的类型。详见 [MediaStreamType](/zh-CN/api-reference/rtc/flutter/enum-mediastreamtype)。
此条媒体流的编码规格。
此条媒体流的语言。
该参数仅对视频流生效,表示视频帧率 (fps)。
该参数仅对视频流生效,表示视频码率 (bps)。
该参数仅对视频流生效,表示视频宽度 (px)。
该参数仅对视频流生效,表示视频高度 (px)。
该参数仅对视频流生效,表示旋转角度。
该参数仅对音频流生效,表示音频采样率 (Hz)。
该参数仅对音频流生效,表示声道数。
该参数仅对音频流生效,表示每个音频采样点的位数 (bit)。
媒体流的时长(毫秒)。