Giter VIP home page Giter VIP logo

Comments (8)

b3ck avatar b3ck commented on August 18, 2024

I believe that is an new thing with OBS v26, I don't quite know exactly why it hangs but I am aware that OBS devs are are aware and are actively trying to patch it.

from nginx-obs-automatic-low-bitrate-switching.

msoultan avatar msoultan commented on August 18, 2024

Ok, I figured out what was causing this - it relates specifically to this setting:

ack_window 8192;

If I remove that setting and let it revert to its default (5000000) then I am able to stop/start the remote OBS without issue. Here's the docs on that directive:

https://github.com/arut/nginx-rtmp-module/wiki/Directives#ack_window

Can I use the default or did you pick that for a specific reason for NOALBS to function correctly?

from nginx-obs-automatic-low-bitrate-switching.

b3ck avatar b3ck commented on August 18, 2024

I was mainly matching what I used back in the day when I was using Bitstream, the app itself had an ack window of 8192, seemed to work well.

When using RTMP I just use the built-in Node-Media-Server rather than NGINX, it seems to have less issues.

I also use the new Media Source in OBS vs the VLC Source.

from nginx-obs-automatic-low-bitrate-switching.

msoultan avatar msoultan commented on August 18, 2024

So we tested the NMS server and while it works well, as far as I can tell it only supports one source... can it support more? Is there a way to send 3 RTMP sources (gopro, drone, and phone) to the NMS server and have NOALBS monitor the gopro feed?

And yes, I remember you mentioning the use of the new Media Source settings in OBS - on our same server we also host multiple DJs (for non-IRL events) so that's why we're still using Nginx and using the ack_window of 8129 holds up the source source DJ's OBS from shutting down - there is no Media Source issue at play in this scenario. We wanted to use the NMS server, but ran into the issue above (more than one source).

Now in regards to the Media Source vs VLC source (in regards to load latency), we did try it and it loads fast, but it also doesn't have an easy way of restarting the feed should it get funky (which happens quite a bit when we're hosting other DJs). This is where using the VLC source restart button is helpful. We also found the need to keep the source alive (whether it's visible or not) otherwise it just keeps getting restarted and causes more hassles than it's worth (as far as what we found...).

from nginx-obs-automatic-low-bitrate-switching.

b3ck avatar b3ck commented on August 18, 2024

yes you can have as many source as you want with NMS, the New Media Source has a reconnect option, here is how I have mine setup:

image

With these settings I have no issues while streaming RTMP.

I guess I don't quite understand your work flow here.. do you have time for a Discord Voice Call?

b3ck#3517

from nginx-obs-automatic-low-bitrate-switching.

DigibitDK avatar DigibitDK commented on August 18, 2024

msoultan >

ack_window 8192;

If I remove that setting and let it revert to its default (5000000) then I am able to stop/start the remote OBS without issue. Here's the docs on that directive:

If you use default ack_window in NGINX, !fix wont work well.

from nginx-obs-automatic-low-bitrate-switching.

b3ck avatar b3ck commented on August 18, 2024

from nginx-obs-automatic-low-bitrate-switching.

DigibitDK avatar DigibitDK commented on August 18, 2024

Correct. 'Media Source' kind of leaves !fix and !refresh in depreciation.

from nginx-obs-automatic-low-bitrate-switching.

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.