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

"This live has not started yet.", OBS shows as broadcasting #4308

Closed
Casuallynoted opened this issue Aug 6, 2021 · 10 comments
Closed

"This live has not started yet.", OBS shows as broadcasting #4308

Casuallynoted opened this issue Aug 6, 2021 · 10 comments
Labels
Status: Waiting for answer Waiting issue author answer

Comments

@Casuallynoted
Copy link

Casuallynoted commented Aug 6, 2021

Describe the problem
Peertube does not show a live as having started, even when it is being actively broadcast to. "This live has not started yet." The stream can be ended and it reflects as ending. It does not show any errors or warnings in the log.

Provide the exact sequence of commands / steps that you executed before running into the problem

  1. Begin live streaming via OBS with key and server url obtained from PeerTube
  2. OBS shows as broadcasting, PeerTube does not reflect that the stream has started
  3. End stream, stream shows as ended

Additional information

  • PeerTube instance:
    • version: 3.3.0
    • NodeJS version: 12.22.3
    • Ffmpeg version: 4.1.6-1~deb10u1
    • Redis version: 6-alpine
    • PostgreSQL version: 13

I'm not sure how best to get logs.

Should also mention that my instance is running through Docker on Windows, using WSL. I've noticed some weird port forwarding shenanigans with WSL, but I don't think they're causing this as my port checkers seem to indicate the port is open and functioning, and OBS can connect to it.

@Chocobozzz
Copy link
Owner

Please paste peertube standard logs when you're start streaming your live

See https://docs.joinpeertube.org/admin-logs

@Chocobozzz Chocobozzz added the Status: Waiting for answer Waiting issue author answer label Aug 18, 2021
@Casuallynoted
Copy link
Author

Sorry for taking so long, here are the logs:

https://pastebin.com/RX1jaiSA

Notably, while there are authentication warnings in this log, when I tried streaming again I didn't see any warning like that.^

@Chocobozzz
Copy link
Owner

Peertube will publish the video when it will detect the master playlist file. Could you check if the file is created when you're running OBS (after 1 or 2 minutes it should be there)?

If not, could you paste a screen of your OBS options? And what do you stream?

@Casuallynoted
Copy link
Author

Peertube will publish the video when it will detect the master playlist file. Could you check if the file is created when you're running OBS (after 1 or 2 minutes it should be there)?

If not, could you paste a screen of your OBS options? And what do you stream?

Where would I find the master playlist file while streaming? I'd be happy to see if it is properly created. I can definitely share my options as well, they're mostly default. I'm streaming video games, sharing my desktop via OBS. Streaming from an M1 Mac.

@Casuallynoted
Copy link
Author

Just found it and I can confirm it created the master playlist files (there are multiple m3u8s in there, 1, 2, 3, and master). There are a lot of video files in the folder which are totally playable and are my live stream. But Peertube on the web doesn't seem to even acknowledge them.

@Chocobozzz
Copy link
Owner

Then it's chokidar that cannot detect file generation. Might be related to WSL: microsoft/WSL#216

@normen

This comment has been minimized.

@normen

This comment has been minimized.

@Chocobozzz
Copy link
Owner

Closing since it does not seem a peertube issue. A WSL upgrade may fix this issue.

@rndevfx
Copy link

rndevfx commented Feb 13, 2023

The main issue is, when your video folder filesystem doesn't support inotify, just set CHOKIDAR_USEPOLLING=true as environment variable. Maybe we can add this to the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Waiting for answer Waiting issue author answer
Projects
None yet
Development

No branches or pull requests

4 participants