impl stopvideo
This commit is contained in:
@@ -46,6 +46,7 @@ export const ControlCommands = {
|
|||||||
ListWifi: 0x0360, // CMD_NET_WIFI_SCAN
|
ListWifi: 0x0360, // CMD_NET_WIFI_SCAN
|
||||||
ListWifiAck: 0x0361,
|
ListWifiAck: 0x0361,
|
||||||
StartVideo: 0x1030, // CMD_PEER_LIVEVIDEO_START
|
StartVideo: 0x1030, // CMD_PEER_LIVEVIDEO_START
|
||||||
|
StopVideo: 0x1130, // CMD_PEER_LIVEVIDEO_STOP
|
||||||
Shutdown: 0x1010, //CMD_SYSTEM_SHUTDOWN,
|
Shutdown: 0x1010, //CMD_SYSTEM_SHUTDOWN,
|
||||||
Reboot: 0x1110, //CMD_SYSTEM_REBOOT,
|
Reboot: 0x1110, //CMD_SYSTEM_REBOOT,
|
||||||
VideoParamSet: 0x1830, // CMD_PEER_VIDEOPARAM_SET
|
VideoParamSet: 0x1830, // CMD_PEER_VIDEOPARAM_SET
|
||||||
|
|||||||
@@ -63,6 +63,10 @@ export const SendListWifi = (session: Session): DataView => {
|
|||||||
return makeDataReadWrite(session, ControlCommands.ListWifi, null);
|
return makeDataReadWrite(session, ControlCommands.ListWifi, null);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const SendStopVideo = (session: Session): DataView => {
|
||||||
|
return makeDataReadWrite(session, ControlCommands.StopVideo, null);
|
||||||
|
};
|
||||||
|
|
||||||
export const SendStartVideo = (session: Session): DataView => {
|
export const SendStartVideo = (session: Session): DataView => {
|
||||||
return makeDataReadWrite(session, ControlCommands.StartVideo, null);
|
return makeDataReadWrite(session, ControlCommands.StartVideo, null);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user