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 Server #2

Open
beasteers opened this issue May 5, 2022 · 0 comments
Open

HLS Server #2

beasteers opened this issue May 5, 2022 · 0 comments
Assignees

Comments

@beasteers
Copy link
Contributor

I added an initial container for the HLS server, however I'm having trouble getting it to work.

I have a test web app that attempts to load the video feed from the HLS server here: https://github.com/VIDA-NYU/ptg-api-samples/tree/main/web-webcam (npm start > localhost:3000)

but it always says failed response empty. clearly I'm not doing something right 😭

I was hoping to have it use exec_pull in the nginx config so that it will only stream to hls on demand, but even trying to stream directly to HLS from my webcam (bypassing redis) I was having trouble.

I included a python script that pulls frames from redis for streaming

# write to stdout
python hls/streams.py stream webcam:pv
# write to hls server
python hls/streams.py hls_stream webcam:pv
# show redis stream using opencv
python hls/streams.py show_stream webcam:pv
# push webcam directly to hls (no redis)
python hls/streams.py push_webcam_hls webcam:pv
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