objective-c - 请问,七牛视频直播拉流如何获取获取一下属性,或是打印流信息?
给我你的怀抱
给我你的怀抱 2017-05-02 09:37:35
0
1
952

/**
视频流的宽

@waring 该属性仅对 rtmp/flv 直播与 ffmpeg 点播有效

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

/**
视频流的高

@waring 该属性仅对 rtmp/flv 直播与 ffmpeg 点播有效

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

/**
视频流的显示比例

@discussion displayRatioWidth = 0 表示该参数无效

@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
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!