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 streamIndex
Declared In
AgoraMediaPlayerKit.h
streamType
The type of the media stream. See AgoraMediaStreamType for details.
@property (nonatomic, assign) AgoraMediaStreamType streamType
Declared In
AgoraMediaPlayerKit.h
codecName
The codec of the media stream.
@property (nonatomic, copy) NSString *codecName
Declared In
AgoraMediaPlayerKit.h
language
The language of the media stream.
@property (nonatomic, copy) NSString *language
Declared In
AgoraMediaPlayerKit.h
videoFrameRate
For video stream, gets the frame rate (fps).
@property (nonatomic, assign) NSInteger videoFrameRate
Declared In
AgoraMediaPlayerKit.h
videoBitRate
For video stream, gets the bitrate (bps).
@property (nonatomic, assign) NSInteger videoBitRate
Declared In
AgoraMediaPlayerKit.h
videoWidth
For video stream, gets the width (pixel) of the video.
@property (nonatomic, assign) NSInteger videoWidth
Declared In
AgoraMediaPlayerKit.h
videoHeight
For video stream, gets the height (pixel) of the video.
@property (nonatomic, assign) NSInteger videoHeight
Declared In
AgoraMediaPlayerKit.h
audioSampleRate
For the audio stream, gets the sample rate (Hz).
@property (nonatomic, assign) NSInteger audioSampleRate
Declared In
AgoraMediaPlayerKit.h
audioChannels
For the audio stream, gets the channel number.
@property (nonatomic, assign) NSInteger audioChannels
Declared In
AgoraMediaPlayerKit.h
duration
The total duration (s) of the media stream.
@property (nonatomic, assign) NSInteger duration
Declared In
AgoraMediaPlayerKit.h
rotation
For video stream, gets the rotation angle of the video.
@property (nonatomic, assign) NSInteger rotation
Declared In
AgoraMediaPlayerKit.h