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

hls publication #18

Open
furianin opened this issue Jan 9, 2024 · 2 comments
Open

hls publication #18

furianin opened this issue Jan 9, 2024 · 2 comments

Comments

@furianin
Copy link

furianin commented Jan 9, 2024

Hi,

I noticed that there is a problem in publishing hls to the web server.
when I make settings
http url protocol specifies where hls should be sent
I choose PUT as the method, and I choose delete segments as the hls flag

when I run the publication, I see in the nginx logs that I get code 200, i.e. hls is uploaded to the server and the playlist, while when the delete method comes I get error code 415. (does not delete the hls element)
when I try to call curl from my laptop, the hls element disappears from the nginx server without any problems

request for verification.

@ioppermann
Copy link
Member

You have to check in nginx that the DELETE is allowed.

For the HLS publication service, we use the HLS output of ffmpeg. The error 415 indicates that nginx has some issues with the provided content type or encoding of the DELETE request: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415

@furianin
Copy link
Author

furianin commented Jan 12, 2024

My nginx understands the delete method.
Because when it calls curl in the example:
curl -X DELETE http://10.255.5.13/hls/channel2442850.ts
This example causes it to remove this file from nginx

The problem is when he publishes the restream and does not delete it.

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

2 participants