Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leaving servername unconfigured creates 404's in master manifest #14

Open
flipmcf opened this issue Jul 6, 2022 · 1 comment
Open

Comments

@flipmcf
Copy link
Owner

flipmcf commented Jul 6, 2022

If casterpak is configured without a servername the master playlist is generated with relative url's,
the client will prepend the .csmil path when requesting media manifests.

This leads to 404s when the client requests media manifests:

Note relative links here:
http://example.com/i/20220705/1251/1_p0kdyds9_1_,5421xtpq,d3poh4s7,_1.mp4.csmil/manifest.m3u8

# Media Playlists
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=730785,BANDWIDTH=865938,CODECS="avc1.42C01E,mp4a.40.2",RESOLUTION=854x480
1_p0kdyds9_1_5421xtpq_1.mp4/index_0_av.m3u8
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=782604,BANDWIDTH=1178958,CODECS="avc1.4D401F,mp4a.40.2",RESOLUTION=854x480
1_p0kdyds9_1_d3poh4s7_1.mp4/index_0_av.m3u8

Then this is requested:

http://example.com/i/20220705/1251/1_p0kdyds9_1_,5421xtpq,d3poh4s7,_1.mp4.csmil/1_p0kdyds9_1_5421xtpq_1.mp4/index_0_av.m3u8

And replies with 404.

@flipmcf
Copy link
Owner Author

flipmcf commented Jul 6, 2022

configure your servernames...

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

No branches or pull requests

1 participant