PlayerStreamInfo
- C++
更新时间不可用
用于获取媒体流的详细信息。
struct PlayerStreamInfo {
int streamIndex;
MEDIA_STREAM_TYPE streamType;
char codecName[kMaxCharBufferLength];
char language[kMaxCharBufferLength];
int videoFrameRate;
int videoBitRate;
int videoWidth;
int videoHeight;
int videoRotation;
int audioSampleRate;
int audioChannels;
int audioBitsPerSample;
int64_t duration;
};属性
| 参数名 | 描述 |
|---|---|
streamIndex | |
streamType | 媒体流的类型。详见 MEDIA_STREAM_TYPE。 |
codecName | |
language | |
videoFrameRate | |
videoBitRate | |
videoWidth | |
videoHeight | |
videoRotation | |
audioSampleRate | |
audioChannels | |
audioBitsPerSample | |
duration |