ZegoTrafficControlCallback Protocol Reference

Conforms to NSObject
Declared in zego-api-external-video-capture-oc.h

Overview

视频外部采集流控回调接口

– onTrafficControlCallback:channelIndex: required method

流控回调。

- (void)onTrafficControlCallback:(ZegoTrafficControlQuality)recommendQuality channelIndex:(ZegoAPIPublishChannelIndex)idx

Parameters

recommendQuality

引擎推荐的编码参数:帧率、码率、分辨率等

idx

推流通道

Discussion

当引擎认为需要改变当前推流质量时回调

一定要实现

Declared In

zego-api-external-video-capture-oc.h