Skip to content

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

Closed

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

Activity

  1. gmajoulet commented on Sep 30, 2021

    @gmajoulet
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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