Skip to content

Conversation

@n0spam
Copy link
Contributor

@n0spam n0spam commented Aug 12, 2013

Media URLs in the manifest can contain query string (called "auth" here), e.g. <media url="some?name=value" ...>. The fragment URLs then would be "...someSegX-FragY?name=value". Ideally, there should be a command-line switch for controlling this behavior, because I can easily imagine a situation where the segment and fragment numbers are passed via the query string, e.g. <media url="some?name=value&frag=" -> "...some?name=value&frag=SegX-FragY".

n0spam added 2 commits August 12, 2013 14:57
Media URLs in the manifest can contain query string (called "auth" here), e.g. <media url="some?name=value" ...>. The fragment URLs then would be "...someSegX-FragY?name=value". Ideally, there should be a command-line switch for controlling this behavior, because I can easily imagine a situation where the segment and fragment numbers are passed via the query string, e.g. <media url="some?name=value&frag=" -> "...some?name=value&frag=SegX-FragY".
Fragment URLs or auth can expire with time. In case (1) a fragment verification fails, or (2) a fragment download fails with 403 Forbidden, we assume the fragment URL provided by the manifest or the user-provided "auth" string has expired and redownload the manifest or execute a user-provided script to get the fresh URLs/auth string(s).
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.

1 participant