Skip to content

Astra Middleware

When configuring Astra Cesbo, you can specify Muo as middleware to verify viewers’ access to channels.

The integration works as following:

sequenceDiagram
    actor Viewer
    participant Astra@{ "type": "boundary" }
    participant Muo@{ "type": "control" }

    Viewer->>Astra: (1)
    Astra->>Muo: (2)
    activate Muo
    Muo->>Astra: (3)
    deactivate Muo
    Astra->>Viewer: (4)
  1. User wants to watch a channel, requests it from Astra
  2. Astra queries Muo about permission of user to watch a given channel. I.e., if the device limit is met.
  3. Modifies internal statistics, allows watching
  4. Astra starts broadcasting the channel

The URL for verification service:

GET %Path from Astra Cesbo to Muo%/astra/auth

For example,

GET http://localhost:3000/astra/auth

Once you’ve created a playlist, you can download it and send it to your clients.

As the service is used, Astra Cesbo will check with Muo to determine whether the user is authorized to watch this channel. For example, it will verify whether the device limit for the user has been exceeded.

You can view channel opening statistics on the relevant screen.

As viewers watch channels from the playlist, Muo will collect usage statistics. You can view the latest statistics in the viewer list or on the edit screen.

User statistics

Requests from viewers to open a channel will be approved if:

the number of unique IP addresses per day does not exceed the device limit for that viewer

and will be rejected otherwise.