Skip to content

Commit

Permalink
URI is OPTIONAL in EXT-X-MEDIA tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysander66 authored Oct 24, 2023
1 parent 75f058a commit 62d3c87
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/playlist/multivariant_rendition.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ func (t *MultivariantRendition) unmarshal(v string) error {
}

if t.Type != MultivariantRenditionTypeClosedCaptions {
if t.URI == "" {
return fmt.Errorf("missing URI")
}

if t.InstreamID != "" {
return fmt.Errorf("INSTREAM-ID is forbidden with type %s", t.Type)
}
Expand Down

0 comments on commit 62d3c87

Please sign in to comment.