Skip to content

[Story video] Add codec information received from video cache #36228

@gmajoulet

Description

@gmajoulet

Description

Add codec information received from video cache.

The type parameter should include the codecs, e.g. type="video/mp4;codecs=vp9", from the JSON response we receive:

"sources":  [
    {
      "url": "url",
      "codec": "h264",
      "type": "video/mp4",
      "bitrate_kbps": 400
    },
    {
      "url": "url",
      "codec": "vp09.00.21.08",
      "type": "video/mp4",
      "bitrate_kbps": 276
    }
  ],

'type': source['type'],

cc @ampproject/wg-stories

Alternatives Considered

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions