Skip to content

Renovar el código de conexión​

POST
/v1/receivers/{id}/code

Autorizaciones​

receiverSecret

Solo para la app receptora

Tipo
API Key (header: X-Receiver-Secret)

Parámetros​

Path Parameters

id*
Tipo
string
Requerido

Respuestas​

Estado con el nuevo código

application/json
JSON
{
  
"status": "string",
  
"code": "K7M3QX",
  
"codeExpiresAt": 0,
  
"codeExpiresIn": 0,
  
"pendingCast": {
  
  
"url": "http://192.168.1.20:8096/videos/peli.m3u8",
  
  
"title": "string",
  
  
"poster": "string",
  
  
"subtitles": [
  
  
  
{
  
  
  
  
"url": "string",
  
  
  
  
"lang": "string",
  
  
  
  
"label": "string"
  
  
  
}
  
  
],
  
  
"startPosition": 0,
  
  
"drm": {
  
  
  
"system": "string",
  
  
  
"licenseUrl": "string"
  
  
},
  
  
"castId": "string",
  
  
"createdAt": 0,
  
  
"expiresAt": 0
  
},
  
"commands": [
  
  
{
  
  
  
"commandId": "string",
  
  
  
"castId": "string",
  
  
  
"at": 0,
  
  
  
"type": "string",
  
  
  
"position": 0,
  
  
  
"seconds": 0,
  
  
  
"level": 0,
  
  
  
"muted": true,
  
  
  
"trackId": "string"
  
  
}
  
]
}

Playground​

Autorización
Variables
Key
Value

Ejemplos​

Powered by VitePress OpenAPI

PlayerOFF · API abierta para enviar videos a cualquier pantalla.