MSG_WEB_SORKET_EVENT_CHANGE_INFO

Use WebSocket to establish a connection to monitor the device status change information.

Request Mode

ws://xx.xx.xx.xx/ws_up_state

Response Body

{
"event":4001,
"info":{
    "statusType":2003
    }
}
Name Description
event The event type
info The event information

event type

Name Value Description
MSG_WEB_SORKET_EVENT_START 4000 The start identifier, no meaning
MSG_WEB_SORKET_EVENT_CHANGE_INFO 4001 The device information change event
MSG_WEB_SORKET_EVENT_END 4002 The end identifier, no meaning

statusType

Value Description
2000 DEVICE_STATUS_CHANGED_PRESENTATION_LIST
The presentation list is changed.
2001 DEVICE_STATUS_CHANGED_PRESENTATION_CURRENT
The presentation is switched.
2002 DEVICE_STATUS_CHANGED_SCENE_LIST
The scene list is changed.
2003 DEVICE_STATUS_CHANGED_SCENE_CURRENT
The current preview scene is switched.
2004 DEVICE_STATUS_CHANGED_BGM_LIST
The BGM list is changed.
2005 DEVICE_STATUS_CHANGED_BGM_STATUS
The BGM playing status is changed.
2006 DEVICE_STATUS_CHANGED_SOUTCE_LIST
The source list is changed.
2007 DEVICE_STATUS_CHANGED_ALBUM_LIST
The album list is changed.
2008 DEVICE_STATUS_CHANGED_VOLUME_SETTINGS
The audio setting is changed.
2009 DEVICE_STATUS_CHANGED_FTB_ENABLE
The FTB enabling status is changed, and the status data can be obtained by /mwapi/get-device-status.
2010 DEVICE_STATUS_CHANGED_RECORD_STATUS_CHANGED
The recording status is changed.
2011 DEVICE_STATUS_CHANGED_EDIT_MODE
The scene edit mode is changed, such as: {"event":4001,"info":{"editSceneId":104,"editing":1,"statusType":2011}}
2012 DEVICE_STATUS_CHANGED_SOURCE
The source is changed (the capture source signal is plugged in or out), such as: {"event":4001,"info":{"sourceId":1,"statusType":2012}}
2013 DEVICE_STATUS_CHANGED_LANDING_SCREENS
The landing scene list is changed.
2014 DEVICE_STATUS_CHANGED_CURRENT_LANDING_SCREEN
The current selected landing scene is changed.
2015 DEVICE_STATUS_CHANGED_SERVER_CONFIG
The general settings of the device are changed.
2016 DEVICE_STATUS_CHANGED_OSD
The watermark enabling status is changed.
2017 DEVICE_STATUS_CHANGED_OSD_LIST
The watermark list is changed.
2018 DEVICE_STATUS_CHANGED_PDF_STATUS
The PDF preview position is changed, such as: {"event":4001,"info":{"pdfPosition":100,"statusType":2011}}
2019 DEVICE_STATUS_CHANGED_PDF_IMPORTING
The PDF importing status, such as: {"event":4001,"info":{"pdfImportResult":{"status":5,"totalCount":40,"currentPage":4},"statusType":2011}}
2020 DEVICE_STATUS_CHANGED_PRESENTATION_EXPORT
The presentation exporting status, such as: {"event":4001,"info":{"currentTask":0,"fileName":"ID_3_New Presentation 1.tar","fileSize":12800,"status":0,"statusType":2020,"totalTask":0}}, status, 0: Successful 1: Failed 2: Processing resources 3: Processing configuration 4: Task cancelled 5: System busy
2021 DEVICE_STATUS_CHANGED_PRESENTATION_IMPORT
The presentation importing stats, such as: {"event":4001,"info":{"status":100,"totalTask":10,"currentTask":5}}, status, 0: Successful 1: Failed 2: Processing resources 3: Processing configuration 4: Task cancelled 5: System busy
2022 DEVICE_STATUS_CHANGED_WEB_BROWSER_STATUS
The web page layer status is changed.
2023 DEVICE_STATUS_CHANGED_IMPORT_WEB_BROWSER
The web page importing status
2024 DEVICE_STATUS_CHANGED_SOURCE_THUMB
The source thumbnail is changed.
2025 DEVICE_STATUS_CHANGED_RECORD_ENCODER_PARAM
The recording encoder parameters are changed.
2026 DEVICE_STATUS_CHANGED_APP_SETTINGS
App settings are changed.
2027 DEVICE_STATUS_CHANGED_WORKING_STATUS
The device working status is changed. {"deviceWorkingStatus":0} 0: Idle, 1: Recording, 2: Uploading files, 3: Downloading files, 4: Exporting a presentation, 5: Importing a presentation

results matching ""

    No results matching ""

    results matching ""

      No results matching ""