Giter Club home page Giter Club logo

Comments (6)

dodolzg avatar dodolzg commented on June 18, 2024 2

same problem, it works well when I set "worker_processes 1"

from nginx-rtmp-module.

arut avatar arut commented on June 18, 2024

please configure with --with-debug and show error log

from nginx-rtmp-module.

dennisjac avatar dennisjac commented on June 18, 2024

In this log I started nginx and then tried to play a stream using ffplay:
https://gist.github.com/2764363

Notice that I didn't publish a stream this time but the same problem still occurs. That should keep things simple (publishing a stream floods the debug log with data). Notice the 30 second gap after 22:09:33. That's where the timeout occurs and the error mentioned above is displayed.

from nginx-rtmp-module.

arut avatar arut commented on June 18, 2024

Your log has absolutely no problems . Moreover the client closes playback with deleteStream call after the error. The error does not mean there was a protocol problem. ffmpeg outputs this error on read timeout (when nothing comes in within certain period of time - 30sec for this case) I should see the full log (with publisher) to see if anything is actually being published and sent to playback client.

from nginx-rtmp-module.

dennisjac avatar dennisjac commented on June 18, 2024

I've setup a completely seperate vm and used the config from the test directory and now it works. I still have trouble playing streams from xsplit but that is probably a problem with the stream itself (audio works but video doesn't unless you restart the stream when the player is already listening). Closing this issue.

from nginx-rtmp-module.

gregorykau avatar gregorykau commented on June 18, 2024

same problem, it works well when I set "worker_processes 1"

I also experienced the same problem on Ubuntu 22.10 Desktop, this change also resolved it for me... Bizarre.

from nginx-rtmp-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.