Skip to content

Crear un receptor temporal​

POST
/v1/receivers

Lo llama la app receptora al abrirse. Devuelve el secreto del receptor y su primer código.

Cuerpo de la petición​

application/json
JSON
{
  
"platform": "string",
  
"name": "string"
}

Respuestas​

Receptor creado

application/json
JSON
{
  
"receiverId": "string",
  
"receiverSecret": "string",
  
"state": {
  
  
"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​

Cuerpo

Ejemplos​

Powered by VitePress OpenAPI

PlayerOFF · API abierta para enviar videos a cualquier pantalla.