Skip to content

Live Streaming broken since 3.4 #4390

@normen

Description

@normen

Describe the current behavior
When trying to stream to a persistent live stream using OBS the stream never goes live on the web page. It used to work in previous versions. Now theres no .m3u8 file created in the stream folder and theres only one .ts file which grows ever larger in size (hundreds of megabytes in 0-000000.ts).

Edit: When stopping the streaming in OBS a m3u8 file is created but by then the stream isn't available through the web page anymore either (for obvious reasons, it actually ended).

Steps to reproduce:

  1. Create permanent live stream
  2. Stream to server using e.g. OBS
  3. See that the stream never starts and no playlist file is created

Describe the expected behavior
The stream should be playable in the web browser.

Additional information

  • PeerTube instance:

    • URL: https://tube.bitwaves.de
    • version: 3.4
    • NodeJS version: docker install from 3.4
    • Ffmpeg version: docker install from 3.4
  • Browser name, version and platforms on which you could reproduce the bug:
    Safari, Any - Server running in docker/Ubuntu

  • Link to browser console log if relevant:

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/):
    Log when starting the stream (seems unsuspicious?)

[tube.bitwaves.de:443] 2021-09-09 12:02:43.056 info: rtmp://127.0.0.1:1935/live/b50bbc7b-08e0-4eff-a935-b32d04ce0463 probing took 1639 ms (bitrate: 2560000, fps: 30, resolution: 1080)
[tube.bitwaves.de:443] 2021-09-09 12:02:43.058 info: Will mux/transcode live video of original resolution 1080. {
  "allResolutions": [
    1080
  ]
}
[tube.bitwaves.de:443] 2021-09-09 12:02:43.166 info: Running live muxing/transcoding for b7a4e544-d4f4-4879-b3bc-2a30a151e72e.
[tube.bitwaves.de:443] 2021-09-09 12:02:56.243 info: 2003:d7:173d:c900:35e4:65b6:4988:92a0 - - [09/Sep/2021:12:02:56 +0000] "GET /api/v1/videos/b7a4e544-d4f4-4879-b3bc-2a30a151e72e/captions HTTP/1.0" 304 - "https://tube.bitwaves.de/w/oFgXUaW64w36beg6ziiyXy" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
[tube.bitwaves.de:443] 2021-09-09 12:02:56.318 info: 2003:d7:173d:c900:35e4:65b6:4988:92a0 - - [09/Sep/2021:12:02:56 +0000] "GET /api/v1/videos/b7a4e544-d4f4-4879-b3bc-2a30a151e72e HTTP/1.0" 200 2796 "https://tube.bitwaves.de/w/oFgXUaW64w36beg6ziiyXy" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
[tube.bitwaves.de:443] 2021-09-09 12:02:56.418 info: 2003:d7:173d:c900:35e4:65b6:4988:92a0 - - [09/Sep/2021:12:02:56 +0000] "GET /api/v1/users/me/videos/32/rating HTTP/1.0" 304 - "https://tube.bitwaves.de/w/oFgXUaW64w36beg6ziiyXy" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
[tube.bitwaves.de:443] 2021-09-09 12:02:56.449 info: 2003:d7:173d:c900:35e4:65b6:4988:92a0 - - [09/Sep/2021:12:02:56 +0000] "GET /api/v1/videos/?start=0&count=6&sort=-createdAt HTTP/1.0" 304 - "https://tube.bitwaves.de/w/oFgXUaW64w36beg6ziiyXy" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
[tube.bitwaves.de:443] 2021-09-09 12:02:57.005 info: 2003:d7:173d:c900:35e4:65b6:4988:92a0 - - [09/Sep/2021:12:02:57 +0000] "GET /api/v1/users/me/video-playlists/videos-exist?videoIds=32 HTTP/1.0" 304 - "https://tube.bitwaves.de/w/oFgXUaW64w36beg6ziiyXy" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
[tube.bitwaves.de:443] 2021-09-09 12:04:13.589 info: Updating live video views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: LiveStatus: To ReproduceLikely a bug but needs reproduction and/or extended log from the issuer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions