Bản lưu ngày / Snapshot of 2026-11-11 · Xem bản mới nhất / See the latest version
WanduraDocsBeta
BetaThese docs are in beta and change often. Something wrong, unclear or missing? Tell us.
Change history

History: Architecture

Every change to this page, newest first. Expand an entry to see what changed.

← Architecture

  1. 21 Oct 2026 · +2 −2 lines
    Show changes
    ⋯
      |---|---|---|---|
      | Space reader | Your backend | Your own space | Your space key, which reads, plays and edits your space only |
    - | Metadata sync | Your backend, on a schedule | Wandura's Delivery API, for example `GET /catalog` | A `metadata:read` key; writes your film tables |
    + | Metadata sync | Your backend, on a schedule or when Wandura notifies it | Wandura's Delivery API, for example `GET /series` | A `metadata:read` key; writes your film tables |
      | App | Viewer's phone | Your backend, then your space to play | The playback link for the episode being watched |
      | Player SDK | Inside your app, for films | Your own space | Its licence file |
    ⋯
      |---|---|
      | For | Every partner app that shows Wandura films or fitness clips |
    - | Content list | Read from your own space with your key. Metadata the platform does not hold comes from Wandura's API; some of it is still being added: [Metadata](concepts/own-space.md#metadata). |
    + | Content list | Read from your own space with your key. Metadata the platform does not hold (cast, artwork, each episode's video ID in your space) comes from Wandura's API, which can also notify your server when a series changes: [Metadata](concepts/own-space.md#metadata). |
      | Playback | Links your server gets from your space, on your own playback domain |
      | Player | The Player SDK (licensed) for films; any standard player for fitness clips |
    ⋯
  2. 21 Oct 2026 · +42 −52 lines
    Show changes
      # Architecture
      
    - > **TL;DR** — Your server syncs Wandura's catalog into your own database, applies your own paywall, and asks Wandura for a short-lived ticket each time a viewer starts an episode. The app plays that ticket with the licensed Player SDK. Wandura checks your licence on every ticket; you decide which viewer may watch what. Content with nothing to protect can use the lighter **open video** path instead.
    + > **TL;DR** — Wandura copies the films and fitness collections it licenses to you into **your own video space** on its video platform. Your server reads that space with its own key and hands playback links to your app. Films play with the licensed Player SDK. Your server reads the metadata the platform does not hold from Wandura's API. You decide which viewer may watch what. The older path, one ticket per episode from `POST /playback`, is frozen: it keeps working for apps already on it, but new integrations use their own space.
      
      ## The pieces {#the-pieces}
    ⋯
      flowchart LR
        subgraph You["Your systems"]
    -     App["Your app<br/>Player SDK"]
    -     BE["Your backend<br/>API keys, paywall"]
    -     DB["Your database<br/>catalog copy"]
    +     App["Your app<br/>Player SDK for films"]
    +     BE["Your backend<br/>keys, paywall"]
    +     DB["Your database"]
        end
        subgraph W["Wandura"]
    -     API["Delivery API"]
    -     CDN["Streaming network"]
    +     Space["Your own space<br/>on the video platform"]
    +     API["Delivery API<br/>metadata"]
        end
    -   BE -->|"GET /catalog, every 15-60 min"| API
    +   BE -->|"list videos, playback info<br/>(space key)"| Space
    +   BE -->|"metadata (API key)"| API
        BE --> DB
    -   App -->|"play request + device values"| BE
    -   BE -->|"POST /playback"| API
    -   API -->|"ticket"| BE
    -   BE -->|"ticket"| App
    -   App -->|"encrypted stream + keys"| CDN
    +   App -->|"play request"| BE
    +   BE -->|"playback link"| App
    +   App -->|"stream"| Space
      ```
      
      | Piece | Runs | Talks to | Holds |
      |---|---|---|---|
    - | Catalog sync job | Your backend, on a schedule | `GET /catalog` | A `metadata:read` key; writes your film tables |
    - | Ticket endpoint | Your backend, per play | `POST /playback` | A `playback` key; your paywall |
    - | App | Viewer's phone | Your backend only | One ticket per episode, in memory |
    - | Player SDK | Inside your app | Wandura's streaming network | Its licence file; the device key, which never leaves the device |
    + | Space reader | Your backend | Your own space | Your space key, which reads, plays and edits your space only |
    + | Metadata sync | Your backend, on a schedule | Wandura's Delivery API, for example `GET /catalog` | A `metadata:read` key; writes your film tables |
    + | App | Viewer's phone | Your backend, then your space to play | The playback link for the episode being watched |
    + | Player SDK | Inside your app, for films | Your own space | Its licence file |
      | Creatives sync (optional) | Your backend | `GET /creatives` | A `creatives:export` key |
      
    - One play, step by step:
    - 
    - ```mermaid
    - sequenceDiagram
    -     participant Device as Viewer device (Player SDK)
    -     participant Backend as Your backend
    -     participant API as Wandura Delivery API
    -     participant Stream as Wandura streaming network
    -     Device->>Backend: Episode + device ID + device public key
    -     Backend->>Backend: Your paywall: may this viewer watch?
    -     Backend->>API: POST /api/delivery/v1/playback (Bearer key)
    -     API->>API: Check key scope and licence for this film
    -     API-->>Backend: vid, play_auth_token, expires_at, protection, subtitles
    -     Backend-->>Device: vid, play_auth_token, subtitles
    -     Device->>Stream: Player SDK loads the encrypted stream and keys
    -     Stream-->>Device: Video plays
    - ```
    - 
    - The key that decrypts the video is bound to the viewer's device: it never passes through your backend or the API response.
    + One play, step by step: [Your own video space · How it works](concepts/own-space.md#how-it-works).
      
      ## Who does what {#responsibilities}
    ⋯
      | Area | Wandura | Your team |
      |---|---|---|
    - | Films | Produces, encodes and protects every film; keeps titles, posters, order and subtitles up to date. | Shows them in your app, in the order and with the text you receive. |
    - | Rights | Grants your organisation a licence per film, with an optional window, and checks it on every ticket. | Follows any other limits of your contract (for example countries). |
    - | Viewers and money | Nothing: the API has no viewer identity. | Accounts, sign-in, paywall, free episodes, coins, subscriptions, refunds, viewer support. |
    - | Keys | Nothing to issue: your Admins and Developers create, rotate and revoke every key themselves, playback keys included. | Keeps keys on your servers; revokes a key that may have leaked, then tells Wandura. |
    - | Player | Registers your app IDs and issues the Player SDK licence (your organisation pays for it). | Integrates the Player SDK in each app. |
    - | Playback | Signs a ticket for one episode on one device and records it. | Asks for a ticket only for episodes the viewer may watch. |
    - | Usage | Counts views from `play` tickets. | Sends `"intent": "play"` when a viewer starts an episode and `"prefetch"` when preloading. |
    + | Films | Produces, encodes and protects every film. Copies the films and fitness collections it licenses to you into your space, with titles, images and subtitles. | Shows them in your app. You may edit titles, descriptions, playlists and images in your space; Wandura leaves your edits alone. |
    + | Rights | Grants your organisation a licence per film, with an optional window. Copies only licensed content into your space, and removes it when the licence ends. | Follows any other limits of your contract (for example countries). Drops ended content from your app: [When rights end](production/rights-end.md). |
    + | Viewers and money | Nothing: Wandura has no viewer identity. | Accounts, sign-in, paywall, free episodes, coins, subscriptions, refunds, viewer support. |
    + | Keys | Issues your space key, and a new one if it leaks. Your Admins and Developers create, rotate and revoke their own Wandura API keys. | Keeps every key on your servers. Tells Wandura at once if the space key may have leaked. |
    + | Player | Registers your app IDs and issues the Player SDK licence (your organisation pays for it). | Integrates the Player SDK in each app that plays films. |
    + | Playback | Sets up your space with a playback domain that belongs to your organisation alone. | Gets playback links from your space, only for episodes the viewer may watch. |
    + | Usage | The video platform counts plays, bytes, storage and transcoding per space. Wandura bills from those same numbers. | Asks for one playback domain per app if you need numbers per app. |
      
    - ## Choose a model {#compare-the-two-models}
    - | | **Standard** (licensed films) | **Open video** | **Own space** (*once your space is set up*) |
    - |---|---|---|---|
    - | For | Every partner app showing Wandura films | Content with no rights to protect, for example fitness clips | Partners Wandura sets up with a space of their own, for films and fitness |
    - | Film list | Your server polls `GET /catalog` | `GET /videos` | Read from your own space with your key; extra metadata from `GET /catalog` |
    - | Playback | A ticket per episode from `POST /playback` | Plain signed MP4 links, valid 1 hour | Links your server gets from your own space |
    - | Player | The Player SDK (licensed) | Any standard player | The Player SDK (licensed) for films; any standard player for fitness |
    - | Licence check | On every ticket | Per organisation and per app key | Only licensed content is copied into your space |
    - | Start with | [Integration roadmap](integration-guide.md) | [Open video](concepts/open-video.md) | [Your own video space](concepts/own-space.md) |
    + ## How your app plays films {#compare-the-two-models}
      
    - If you are not sure, you are on the standard model.
    + | | **Your own video space** |
    + |---|---|
    + | For | Every partner app that shows Wandura films or fitness clips |
    + | Content list | Read from your own space with your key. Metadata the platform does not hold comes from Wandura's API; some of it is still being added: [Metadata](concepts/own-space.md#metadata). |
    + | Playback | Links your server gets from your space, on your own playback domain |
    + | Player | The Player SDK (licensed) for films; any standard player for fitness clips |
    + | Licence check | Only licensed content is copied into your space |
    + | Start with | [Your own video space](concepts/own-space.md) |
      
    + Wandura sets up each space with you; ask in your team's Discord channel to start. If you are starting a new integration, it uses your own space.
    + 
    + ### Frozen paths {#frozen-paths}
    + 
    + Two older paths keep working, and apps already on them need change nothing. Wandura is no longer adding to them, and new integrations should not start on them:
    + 
    + - **Through Wandura**: one ticket per episode from `POST /playback`. See [Playback and tickets](concepts/playback.md).
    + - **Open video**: signed MP4 links from `GET /videos`. See [Open video](concepts/open-video.md).
    + 
      ## Related {#related}
      
      - [Before you start](before-you-start.md)
    + - [Your own video space](concepts/own-space.md)
      - [Security](concepts/security.md): the trust boundary.
      - [Canonical API behaviour](reference/behaviour.md)
  3. 3 Oct 2026 · +1 −2 lines
    Show changes
    ⋯
      
      ## Choose a model {#compare-the-two-models}
    - 
    - | | **Standard** (licensed films) | **Open video** | **Own space** (*Rolling out*) |
    + | | **Standard** (licensed films) | **Open video** | **Own space** (*once your space is set up*) |
      |---|---|---|---|
      | For | Every partner app showing Wandura films | Content with no rights to protect, for example fitness clips | Partners Wandura sets up with a space of their own, for films and fitness |
    ⋯
  4. 3 Oct 2026 · +9 −9 lines
    Show changes
    ⋯
      ## Choose a model {#compare-the-two-models}
      
    - | | **Standard** (licensed films) | **Managed** | **Open video** | **Own space** (*Rolling out*) |
    - |---|---|---|---|---|
    - | For | Every partner app showing Wandura films | Only apps operated by the Wandura group, by separate agreement | Content with no rights to protect, for example fitness clips | Partners Wandura sets up with a space of their own, for films and fitness |
    - | Film list | Your server polls `GET /catalog` | Agreed with Wandura's content team | `GET /videos` | Read from your own space with your key; extra metadata from `GET /catalog` |
    - | Playback | A ticket per episode from `POST /playback` | Set up with Wandura | Plain signed MP4 links, valid 1 hour | Links your server gets from your own space |
    - | Player | The Player SDK (licensed) | The Player SDK (licensed) | Any standard player | The Player SDK (licensed) for films; any standard player for fitness |
    - | Licence check | On every ticket | By contract | Per organisation and per app key | Only licensed content is copied into your space |
    - | Start with | [Integration roadmap](integration-guide.md) | Contact Wandura | [Open video](concepts/open-video.md) | [Your own video space](concepts/own-space.md) |
    + | | **Standard** (licensed films) | **Open video** | **Own space** (*Rolling out*) |
    + |---|---|---|---|
    + | For | Every partner app showing Wandura films | Content with no rights to protect, for example fitness clips | Partners Wandura sets up with a space of their own, for films and fitness |
    + | Film list | Your server polls `GET /catalog` | `GET /videos` | Read from your own space with your key; extra metadata from `GET /catalog` |
    + | Playback | A ticket per episode from `POST /playback` | Plain signed MP4 links, valid 1 hour | Links your server gets from your own space |
    + | Player | The Player SDK (licensed) | Any standard player | The Player SDK (licensed) for films; any standard player for fitness |
    + | Licence check | On every ticket | Per organisation and per app key | Only licensed content is copied into your space |
    + | Start with | [Integration roadmap](integration-guide.md) | [Open video](concepts/open-video.md) | [Your own video space](concepts/own-space.md) |
      
    - If you are not sure, you are on the standard model. The managed model is not offered to external partners.
    + If you are not sure, you are on the standard model.
      
      ## Related {#related}
    ⋯
  5. 3 Oct 2026 · +8 −8 lines
    Show changes
    ⋯
      ## Choose a model {#compare-the-two-models}
      
    - | | **Standard** (licensed films) | **Managed** | **Open video** |
    - |---|---|---|---|
    - | For | Every partner app showing Wandura films | Only apps operated by the Wandura group, by separate agreement | Content with no rights to protect, for example fitness clips |
    - | Film list | Your server polls `GET /catalog` | Agreed with Wandura's content team | `GET /videos` |
    - | Playback | A ticket per episode from `POST /playback` | Set up with Wandura | Plain signed MP4 links, valid 1 hour |
    - | Player | The Player SDK (licensed) | The Player SDK (licensed) | Any standard player |
    - | Licence check | On every ticket | By contract | Per organisation and per app key |
    - | Start with | [Integration roadmap](integration-guide.md) | Contact Wandura | [Open video](concepts/open-video.md) |
    + | | **Standard** (licensed films) | **Managed** | **Open video** | **Own space** (*Rolling out*) |
    + |---|---|---|---|---|
    + | For | Every partner app showing Wandura films | Only apps operated by the Wandura group, by separate agreement | Content with no rights to protect, for example fitness clips | Partners Wandura sets up with a space of their own, for films and fitness |
    + | Film list | Your server polls `GET /catalog` | Agreed with Wandura's content team | `GET /videos` | Read from your own space with your key; extra metadata from `GET /catalog` |
    + | Playback | A ticket per episode from `POST /playback` | Set up with Wandura | Plain signed MP4 links, valid 1 hour | Links your server gets from your own space |
    + | Player | The Player SDK (licensed) | The Player SDK (licensed) | Any standard player | The Player SDK (licensed) for films; any standard player for fitness |
    + | Licence check | On every ticket | By contract | Per organisation and per app key | Only licensed content is copied into your space |
    + | Start with | [Integration roadmap](integration-guide.md) | Contact Wandura | [Open video](concepts/open-video.md) | [Your own video space](concepts/own-space.md) |
      
      If you are not sure, you are on the standard model. The managed model is not offered to external partners.
    ⋯
  6. 2 Oct 2026 · Page created
↑↓ selectEnter openEsc close

Send feedback

Your message goes straight to the Wandura team. It includes the address of this page.

0 / 4000