-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
HLS CORS not working #415
Comments
Perhaps it could be useful to add "allowedOrigins" field in config.yml, with "*" being the default. |
I'm also facing the same issue. |
Upon more investigation, I think the problem is because the initial request to /test is redirected to /test/ with a 301 response instead of the expected 200 for CORS. |
Actually my understanding of HLS was incomplete. But with auth, it doesn't work anymore. paths:
test:
source: rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
readUser: user
readPass: pass
sourceOnDemand: false
sourceProtocol: tcp Player logs:
|
When I play the HLS url https://164.22.4.77:8888/demo/stream.m3u8 on vlc player it is playable but when I try to access on browser/any online player it is giving me an CORS issue. Is there any workaround to run the HLS on any of the online player? |
|
Thank you, can you provide a nightly build to test or how to use the Makefile to build on my own? Edit: I managed to build using |
rtsp-simple-server_v0.16.3-2-gc900bc4_linux_amd64.tar.gz I tested and it still doesn't work properly with readUser and readPass.
Chrome devtools on custom HLS player page: Request Headers
Response Headers
General
I also tried with |
added in v0.16.4 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.16.2
Which operating system are you using?
OS
Architecture
Describe the issue
JavaScript console:
Server logs:
Describe how to replicate the issue
Copy paste the source URL in this HLS player: https://hls-js.netlify.app/demo/
The text was updated successfully, but these errors were encountered: