Skip to content

Need a mechanism to indicate that a token should be applied to a track #74

@wilaw

Description

@wilaw

An MSF player will be given a URL to a catalog and also a token. Upon parsing a catalog, receives a list a tracks. One option is that the player can blindly pass the token in all track subscriptions. Or we can create a catalog track key to indicate that this track requires a subscription.

Possible solution shown below using "requiresToken".

One question is - what if the player is given two or more more tokens? Is this a use-case we need to solve for?

{
  "version": 1,
  "generatedAt": 1746104606044,
  "tracks": [
    {
      "name": "1080p-video",
      "namespace": "conference.example.com/conference123/alice",
      "packaging": "loc",
      "isLive": true,
       "requiresToken": true,
      "targetLatency": 2000,
      "role": "video",
      "renderGroup": 1,
      "codec":"av01.0.08M.10.0.110.09",
      "width":1920,
      "height":1080,
      "framerate":30,
      "bitrate":1500000
    },
    {
      "name": "audio",
      "namespace": "conference.example.com/conference123/alice",
      "packaging": "loc",
      "isLive": true,
      "targetLatency": 2000,
      "role": "audio",
      "renderGroup": 1,
      "codec":"opus",
      "samplerate":48000,
      "channelConfig":"2",
      "bitrate":32000
    }
   ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions