AVDLivecast.h

Includes:
"AVDCommon.h"
"AVDVideoView.h"
"AVDEasyRoom.h"
"AVDFakeVideoCapturer.h"
"AVDFakeAudioCapturer.h"

Introduction

Use the links in the table of contents to the left to access the documentation.



Classes

AVDLivecast

Protocols

AVDLivecastDelegate


Methods

+onStreamlast3Stats:avbps:

onStreamlast3Stats:avbps:


- (void) onStreamlast3Stats:(NSUInteger)videofps avbps:(NSUInteger)avbps;  
Discussion

间隔 3s 调用该回调方法来反馈该 3s 内的流状态,包括视频帧率、音视频总码率

@param[in] videofps 视频帧率。 @param[in] avbps 音视频总码率: kbps。


Enumerated Types

AVDLivecastStatus

AVDLivecastStatus


enum AVDLivecastStatus { 
    lc_init, 
    lc_connecting, 
    lc_ready, 
    lc_livecast, 
    lc_reconnecting, 
};  
Constants
lc_init

< 初始状态

lc_connecting

< 正在连接服务器

lc_ready

< 视频可以预览,准备好可以直播

lc_livecast

< 正在直播

lc_reconnecting

< 正在与服务器重连接

Discussion

客户端直播状态定义

状态迁移图: