> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/ufc-5.0/ufc-5.0-latam-spanish/video-stream-authentication.md).

# Autenticación de transmisión de video

### Descripción general del flujo de autenticación de video

![](https://95190367-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdgxZ4ULTxSBGy8c7qUpC%2Fuploads%2Fgit-blob-bea1c65bf8edd1236fb13eebbe845f6e82e88269%2FScreenshot%202020-06-30%20at%2000.53.49.png?alt=media)

Un operador puede establecer parámetros al inicializar el Centro de Eventos para habilitar o deshabilitar el video en la interfaz de usuario. El mensaje que se muestra a los usuarios se puede configurar de antemano.

```
frontRowSeat.eventCentre({
  ..
  options: {
    videoPlaybackEnabled: true/false
  }
)
```

También sería posible actualizar este valor en tiempo de ejecución.

```
.emit(OptionsUpdate: {
  videoPlaybackEnabled: true/false
})
```

Cuando un usuario pulsa "play", el Centro de Eventos emite un mensaje solicitando al operador que autentique la reproducción del video.

```
.on(VideoPlaybackAuthRequest, {
  messageType: 'VideoPlaybackAuthRequest'
})
```

El operador debe responder con el token de autenticación utilizando las pautas existentes descritas en la Documentación de transmisión de IMG. Es importante que los campos operatorId y timestamp se correspondan con los usados para crear el token.

```
.emit(VideoPlaybackAuthResponse, {
  messageType: 'VideoPlaybackAuthResponse',
  operatorId: '<OPERATOR-ALC-ID>'.
  auth: '<OPERATOR-ALC-TOKEN>',
  timestamp: 1576339325918
})
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sportradar.com/ufc-5.0/ufc-5.0-latam-spanish/video-stream-authentication.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
