ZegoLiveRoom
Public Member Functions | List of all members
ZEGO::VCAP::IZegoTrafficControlCallback Class Referenceabstract

#include <zego-api-external-video-capture.h>

Public Member Functions

virtual void OnTrafficControlCallback (const TrafficControl &rate_control, const AV::PublishChannelIndex idx)=0
 
virtual ~IZegoTrafficControlCallback ()
 

Constructor & Destructor Documentation

◆ ~IZegoTrafficControlCallback()

virtual ZEGO::VCAP::IZegoTrafficControlCallback::~IZegoTrafficControlCallback ( )
inlinevirtual

Member Function Documentation

◆ OnTrafficControlCallback()

virtual void ZEGO::VCAP::IZegoTrafficControlCallback::OnTrafficControlCallback ( const TrafficControl rate_control,
const AV::PublishChannelIndex  idx 
)
pure virtual

外部视频采集流控回调。

注意:不要在此回调中执行耗时操作,建议切换到其它线程再执行具体的操作。

Parameters
rate_control流控参数
idx推流通道

The documentation for this class was generated from the following file: