Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@deboer-tim
Copy link
Collaborator

The CDS video urls are always 'folders' today, e.g. /stream/12. However, I found that some video players (e.g. video.js) expect HLS streams to be 'files' like 'blah.m3u8'. This PR allows video handlers to specify a filename that's appended to the file reference url like /stream/12/index.m3u8 in order to make the url look more typical, and uses it for HLS. CDS admin web pages are updated as well.

We could do this for streaming video formats as well, e.g. /stream/17/video.m2ts, but I haven't implemented that here.

The ability for the HLS parser to prefix the embedded files was left in for now, but could likely be removed later.

The CDS video urls are always 'folders' today, e.g. /stream/12. However, I found
that some video players (e.g. video.js) expect HLS streams to be 'files' like
'blah.m3u8'. This allows video handlers to specify a filename that's appended to
the file reference url like /stream/12/index.m3u8 in order to make the url look
more typical. CDS admin web pages are updated as well.

We could do this for streaming video formats as well, e.g. /stream/17/video.m2ts,
but I haven't implemented that here.

The ability for the HLS parser to prefix the embedded files was left in for now,
but could likely be removed later.
@deboer-tim deboer-tim merged commit 66a27f4 into icpctools:main Aug 28, 2025
4 checks passed
@deboer-tim deboer-tim deleted the hls-filename branch August 31, 2025 07:33
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.

2 participants