LDWS sendCecX Endpoint
3 min
this api is experimental and may change post /v1/sendcecx/ sends specified cec payloads out of a player’s hdmi 1 port request body hexcommand \<font color="#704ae0">string\</font> the custom cec command, in hexadecimal format, sent from the player to the connected display you can use https //www cec o matic com/ https //www cec o matic com/ to understand and convert commands request example the example request parameters and headers are set as follows post /api/v1/sendcecx/ http/1 1 host {{playerip}} authorization {{digestauth}} this is the example request body { "hexcommand" "4f36" } response example { "data" { "result" { "success" true } } } failure response examples \<font color="#b91c1c">400\</font> invalid request parameter \<font color="#b91c1c">500\</font> internal server error