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

cannot find .m3u8 for HLS #90

Closed
SaulMoonves opened this issue Jan 6, 2024 · 2 comments
Closed

cannot find .m3u8 for HLS #90

SaulMoonves opened this issue Jan 6, 2024 · 2 comments

Comments

@SaulMoonves
Copy link

SaulMoonves commented Jan 6, 2024

XIU version
v0.9.0

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.6 LTS
Release:	20.04
Codename:	focal

Describe the bug
HLS m3u8 not found

To Reproduce

tried cli and config file, neither work:

/var/lib/xiu/.cargo/bin/xiu --rtmp 1936 --hls 8091 -l debug
Jan 06 16:57:25 banky xiu[1971230]: [2024-01-06T21:57:25Z INFO  hls::server] Hls server listening on http://0.0.0.0:8091
Jan 06 16:57:25 banky xiu[1971230]: [2024-01-06T21:57:25Z INFO  rtmp::rtmp] Rtmp server listening on tcp://0.0.0.0:1936
Jan 06 16:57:28 banky xiu[1971230]: [2024-01-06T21:57:28Z INFO  streamhub] subscribe:  stream identifier: RTMP - app_name: live/test, stream_name:

Stream with OBS, can see it connecting and streaming, seems no issues in OBS. I see it write files in the working directory but not the .m3u8 file

curl http://127.0.0.1:8091/live/test/test.m3u8
Not Found

Expected behavior
should find .m3u8 file so HLS works.

@harlanc
Copy link
Owner

harlanc commented Jan 7, 2024

How do you fill in the server and stream key for your OBS?

@SaulMoonves
Copy link
Author

The issue was I was putting rtmp://myserver:1936/live/test with no stream key into OBS. Maybe the documentation could mention OBS rtmp specifically and xiu could not start if you don't provide a stream key. Anyway, xiu seems to work great now.

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