public class ControlChannelLocalRecordRequest extends AbstractModel
Constructor and Description |
---|
ControlChannelLocalRecordRequest() |
ControlChannelLocalRecordRequest(ControlChannelLocalRecordRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getChannelId()
Get 通道唯一标识
|
String |
getCommand()
Get 控制参数,转义的json字符串
目前支持的command:
"Command": "{"Action":"PAUSE"}" 暂停
"Command": "{"Action":"PLAY"}" 暂停恢复
"Command": "{"Action":"PLAY","Offset":"15"}" 基于文件起始时间点的位置偏移,单位秒
|
String |
getDeviceId()
Get 设备唯一标识
|
String |
getStreamId()
Get 流Id,流的唯一标识
|
void |
setChannelId(String ChannelId)
Set 通道唯一标识
|
void |
setCommand(String Command)
Set 控制参数,转义的json字符串
目前支持的command:
"Command": "{"Action":"PAUSE"}" 暂停
"Command": "{"Action":"PLAY"}" 暂停恢复
"Command": "{"Action":"PLAY","Offset":"15"}" 基于文件起始时间点的位置偏移,单位秒
|
void |
setDeviceId(String DeviceId)
Set 设备唯一标识
|
void |
setStreamId(String StreamId)
Set 流Id,流的唯一标识
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ControlChannelLocalRecordRequest()
public ControlChannelLocalRecordRequest(ControlChannelLocalRecordRequest source)
public String getDeviceId()
public void setDeviceId(String DeviceId)
DeviceId
- 设备唯一标识public String getChannelId()
public void setChannelId(String ChannelId)
ChannelId
- 通道唯一标识public String getStreamId()
public void setStreamId(String StreamId)
StreamId
- 流Id,流的唯一标识public String getCommand()
public void setCommand(String Command)
Command
- 控制参数,转义的json字符串
目前支持的command:
"Command": "{"Action":"PAUSE"}" 暂停
"Command": "{"Action":"PLAY"}" 暂停恢复
"Command": "{"Action":"PLAY","Offset":"15"}" 基于文件起始时间点的位置偏移,单位秒Copyright © 2022. All rights reserved.