public class ControlRecordStreamRequest extends AbstractModel
Constructor and Description |
---|
ControlRecordStreamRequest() |
ControlRecordStreamRequest(ControlRecordStreamRequest 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 |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放)
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒
目前支持的command:
"Command": "{"Action":"PAUSE"}" 暂停
"Command": "{"Action":"PLAY"}" 暂停恢复
"Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作
|
String |
getDeviceId()
Get 设备Id,设备的唯一标识
|
String |
getStreamId()
Get 流Id,流的唯一标识
|
void |
setChannelId(String ChannelId)
Set 通道唯一标识
|
void |
setCommand(String Command)
Set |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放)
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒
目前支持的command:
"Command": "{"Action":"PAUSE"}" 暂停
"Command": "{"Action":"PLAY"}" 暂停恢复
"Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作
|
void |
setDeviceId(String DeviceId)
Set 设备Id,设备的唯一标识
|
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 ControlRecordStreamRequest()
public ControlRecordStreamRequest(ControlRecordStreamRequest source)
public String getDeviceId()
public void setDeviceId(String DeviceId)
DeviceId
- 设备Id,设备的唯一标识public String getStreamId()
public void setStreamId(String StreamId)
StreamId
- 流Id,流的唯一标识public String getCommand()
public void setCommand(String Command)
Command
- |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放)
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒
目前支持的command:
"Command": "{"Action":"PAUSE"}" 暂停
"Command": "{"Action":"PLAY"}" 暂停恢复
"Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作public String getChannelId()
public void setChannelId(String ChannelId)
ChannelId
- 通道唯一标识Copyright © 2022. All rights reserved.