AgoraMediaStreamInfo Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | AgoraMediaPlayerKit.h |
Overview
The AgoraMediaStreamInfo class, reporting the whole detailed information of the media stream.
streamIndex
The index of the media stream.
@property (nonatomic, assign) NSInteger streamIndexDeclared In
AgoraMediaPlayerKit.h
streamType
The type of the media stream. See AgoraMediaStreamType for details.
@property (nonatomic, assign) AgoraMediaStreamType streamTypeDeclared In
AgoraMediaPlayerKit.h
codecName
The codec of the media stream.
@property (nonatomic, copy) NSString *codecNameDeclared In
AgoraMediaPlayerKit.h
language
The language of the media stream.
@property (nonatomic, copy) NSString *languageDeclared In
AgoraMediaPlayerKit.h
videoFrameRate
For video stream, gets the frame rate (fps).
@property (nonatomic, assign) NSInteger videoFrameRateDeclared In
AgoraMediaPlayerKit.h
videoBitRate
For video stream, gets the bitrate (bps).
@property (nonatomic, assign) NSInteger videoBitRateDeclared In
AgoraMediaPlayerKit.h
videoWidth
For video stream, gets the width (pixel) of the video.
@property (nonatomic, assign) NSInteger videoWidthDeclared In
AgoraMediaPlayerKit.h
videoHeight
For video stream, gets the height (pixel) of the video.
@property (nonatomic, assign) NSInteger videoHeightDeclared In
AgoraMediaPlayerKit.h
audioSampleRate
For the audio stream, gets the sample rate (Hz).
@property (nonatomic, assign) NSInteger audioSampleRateDeclared In
AgoraMediaPlayerKit.h
audioChannels
For the audio stream, gets the channel number.
@property (nonatomic, assign) NSInteger audioChannelsDeclared In
AgoraMediaPlayerKit.h
duration
The total duration (s) of the media stream.
@property (nonatomic, assign) NSInteger durationDeclared In
AgoraMediaPlayerKit.h
rotation
For video stream, gets the rotation angle of the video.
@property (nonatomic, assign) NSInteger rotationDeclared In
AgoraMediaPlayerKit.h