文档中心
服务端网关
API 参考
服务端网关 SDK Java API 参考
◆ VideoSubscriptionOptions() [1/2]
io.agora.rtc.VideoSubscriptionOptions.VideoSubscriptionOptions |
( |
| ) |
|
◆ VideoSubscriptionOptions() [2/2]
io.agora.rtc.VideoSubscriptionOptions.VideoSubscriptionOptions |
( |
int |
type, |
|
|
int |
encodedFrameOnly |
|
) |
| |
构造函数。
- 参数
-
type | 订阅的视频流类型。
- 0: 视频大流,分辨率和码率高。
- 1: 视频小流,分辨率和码率低。
|
encodedFrameOnly | 是否仅订阅视频编码数据:
true :仅订阅视频编码数据。
false :(默认)仅订阅视频解码数据。
|
◆ getEncodedFrameOnly()
int io.agora.rtc.VideoSubscriptionOptions.getEncodedFrameOnly |
( |
| ) |
|
◆ getType()
int io.agora.rtc.VideoSubscriptionOptions.getType |
( |
| ) |
|
◆ setEncodedFrameOnly()
void io.agora.rtc.VideoSubscriptionOptions.setEncodedFrameOnly |
( |
int |
encodedFrameOnly | ) |
|
◆ setType()
void io.agora.rtc.VideoSubscriptionOptions.setType |
( |
int |
type | ) |
|
该类的文档由以下文件生成: