objective-c - How can I obtain the attributes of Qiniu Video Live Streaming or print the stream information?
给我你的怀抱
给我你的怀抱 2017-05-02 09:37:35
0
1
1022

/**
Video stream width

@waring This attribute is only valid for rtmp/flv live broadcast and ffmpeg on-demand

@since v2.3.0
*/
@property (nonatomic, assign, readonly) int width;

/**
High video streaming

@waring This attribute is only valid for rtmp/flv live broadcast and ffmpeg on-demand

@since v2.3.0
*/
@property (nonatomic, assign, readonly) int height;

/**
Display ratio of video stream

@discussion displayRatioWidth = 0 means the parameter is invalid

@since v2.4.0
*/
@property (nonatomic, assign, readonly) int displayRatioWidth;
@property (nonatomic, assign, readonly) int displayRatioHeight;

给我你的怀抱
给我你的怀抱

reply all(1)
黄舟

You can request the server to obtain it. The server has a status() interface. This interface can obtain the real-time frame rate and code rate of the live stream

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template