|
Agora RTC Objective-C API Reference
Refactor
|
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 |
|
inline |
| int streamIndex |
The index of the media stream.
| MEDIA_STREAM_TYPE streamType |
The type of the media stream. See MEDIA_STREAM_TYPE.
| char codecName[kMaxCharBufferLength] |
The codec of the media stream.
| char language[kMaxCharBufferLength] |
The language of the media stream.
| int videoFrameRate |
This parameter only takes effect for video streams, and indicates the video frame rate (fps).
| int videoBitRate |
This parameter only takes effect for video streams, and indicates the video bitrate (bps).
| int videoWidth |
This parameter only takes effect for video streams, and indicates the video width (pixel).
| int videoHeight |
This parameter only takes effect for video streams, and indicates the video height (pixel).
| int videoRotation |
This parameter only takes effect for video streams, and indicates the video rotation angle.
| int audioSampleRate |
This parameter only takes effect for audio streams, and indicates the audio sample rate (Hz).
| int audioChannels |
This parameter only takes effect for audio streams, and indicates the audio channel number.
| int audioBitsPerSample |
This parameter only takes effect for audio streams, and indicates the bit number of each audio sample.
| int64_t duration |
The total duration (ms) of the media stream.