Skip to content

Conversation

@harrietfigueroa
Copy link
Collaborator

@harrietfigueroa harrietfigueroa commented Jan 27, 2022

  • Add new property to playlist, customTags, that contains a record with
    a string key and a value that is either string, number, or boolean.
  • Example: #EXT-X-CUSTOM-TAGS:foo=bar;fizz=true;boop=1

LIVE-3972

* Add new property to playlist, customTags, that contains a record with
  a string key and a value that is either string, number, or boolean.
* Example: `#EXT-X-CUSTOM-TAGS:foo=bar;fizz=true;boop=1`
function parseCustomTag(params: string): CustomTags {
const customTags = {};
if (params) {
for (const pair of params.split(';')) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any sort of escape character we need to worry about? Like #EXT-X-CUSTOM-TAGS:math=a\=b

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants