Agora RTC Objective-C API Reference Refactor

Data Fields
PlayerStreamInfo Struct Reference

## Data Fields
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

## Constructor & Destructor Documentation

## ◆ PlayerStreamInfo()

PlayerStreamInfo | ( |  | ) |
| inline

## Field Documentation

## ◆ streamIndex

int streamIndex

The index of the media stream.

## ◆ streamType

MEDIA_STREAM_TYPE streamType

The type of the media stream. See MEDIA_STREAM_TYPE.

## ◆ codecName

char codecName[kMaxCharBufferLength]

The codec of the media stream.

## ◆ language

char language[kMaxCharBufferLength]

The language of the media stream.

## ◆ videoFrameRate

int videoFrameRate

The frame rate (fps) if the stream is video.

## ◆ videoBitRate

int videoBitRate

The video bitrate (bps) if the stream is video.

## ◆ videoWidth

int videoWidth

The video width (pixel) if the stream is video.

## ◆ videoHeight

int videoHeight

The video height (pixel) if the stream is video.

## ◆ videoRotation

int videoRotation

The rotation angle if the steam is video.

## ◆ audioSampleRate

int audioSampleRate

The sample rate if the stream is audio.

## ◆ audioChannels

int audioChannels

The number of audio channels if the stream is audio.

## ◆ audioBitsPerSample

int audioBitsPerSample

The number of bits per sample if the stream is audio.

## ◆ duration

int64_t duration

The total duration (millisecond) of the media stream.