#include <NGIAgoraVideoTrack.h>
ILocalVideoTrack
类提供本地视频轨道的基本方法。
你可以通过 publishVideo 方法发布一个或多个视频轨道。
◆ ~ILocalVideoTrack()
agora::rtc::ILocalVideoTrack::~ILocalVideoTrack |
( |
| ) |
|
|
inlineprotected |
◆ enableSimulcastStream()
virtual int agora::rtc::ILocalVideoTrack::enableSimulcastStream |
( |
bool |
enabled, |
|
|
const SimulcastStreamConfig & |
config |
|
) |
| |
|
pure virtual |
◆ getState()
◆ getStatistics()
◆ setEnabled()
virtual void agora::rtc::ILocalVideoTrack::setEnabled |
( |
bool |
enable | ) |
|
|
pure virtual |
开启或关闭本地视频轨道。
本地视频轨道开启之后,SDK 可以对采集、处理和编码本地视频。
- 参数
-
enable | 开启或关闭本地视频轨道。
true : 开启本地视频轨道。
false : 关闭本地视频轨道。
|
◆ setVideoEncoderConfiguration()
◆ updateSimulcastStreamConfig()
virtual int agora::rtc::ILocalVideoTrack::updateSimulcastStreamConfig |
( |
const SimulcastStreamConfig & |
config | ) |
|
|
pure virtual |
该类的文档由以下文件生成: