-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Scene switching to [Offline] offline and stays there. #119
Comments
You need to have a stats-page for Noalbs to auto-switch scenes. If you have no stats-page, then you cant use offline-scene, lowbitrate-scene etc. the way its intended. |
Thank you! I will set up a stats-page then. Im in the early phases of testing this for IRL motorcycle streaming, so im trying to keep it cost-free for now. Can i host my own stats-page with Nginx on my computer which has OBS and receive the AWS rtmp feed, or do i need to create that stats-page with Nginx server side(on AWS)? Thank you for your assist so far! |
If your NGINX-server is on AWS, then your stats-page will be there as well. Your can run your NIGNX-RTMP on your PC as well, yes. Then your stats-page will be there as well. Your stats-page will always be where your RTMP-server is :) |
Thank you so much! I will try it out and post an update👍 |
How is NOALBS going to work when my Nginx-RTMP server on AWS is not running OBS? OBS is running on my own PC and pulling the RTMP feed from my AWS. NOALBS needs access to obs-websocket right? EDIT: I think i cracked the code! Hold on, i will test and update post about latest status. |
NOALBS "spamming" this: 2022-09-15T18:11:58.510055Z INFO NOALBS{user=moenttv}:Switcher: noalbs::switcher: Switcher running This is how my NOALBS config.json looks like in the "streamServers" section. Can anyone help me realise whats wrong? =/
|
Seems like this is the last issue. Everything seems to be working, except the scene switching. Because of the stats page error. |
You need to keep in mind, that this i a 3-part setup. You have OBS. Your have NGINX. And you have Noalbs. 3 different systems. If you have RTMP-NGINX running on AWS, then localhost or 127.0.0.1 will not work. You need to open your stats-page port on AWS so that your local Noalbs will be able to get the stats-page. |
Thanks for that input DigibitDK! I moved NOALBS over to local computer that runs OBS. Error in NOALBS now: |
Is your stats-page on port 80? |
I have no idea, how can i figure that out? I have tried so many different options, im at a point where im just lost in everything lol. All i have done is adding stat.xsl to html folder in Nginx and followed a video guide on how to install Nginx-rtmp and noalbs on Windows. There is no mention of this stat.xsl, other then where to put it. |
If you install something like this: https://github.com/arut/nginx-rtmp-module - you should have your stats-page on http://serverip:8080/stats |
But ... For Noalbs to work as a remote-control tool, you dont need auto-scene-switching. You can just use it as a chat-remote-tool, and ignore the auto-switch path. That will make your setup a lot more simple. |
Thanks! I have Nginx 1.7.11.13 Gryphon for windows 64 on my AWS and then followed this noalbs instruction to have websocket and auto-scene-switching. The reason i want auto-switching, is because this RTMP server is only going to be used for IRL streams when riding a motorcycle, so access to writing in chat is pretty limited. therefor, it would be amazing to have it switch when my bitrate falls during the trip. |
This is nginx.conf, which is added from this git, together with the stat.xsl file in nginx/html/stat.xsl. `
}` |
I understand. But even so, if you just use a default scene with a picture underneath your media-source, that picture will be shown if you loose connection, AND when your NGINX-server hits timeout. (timeout 20s;) |
But to be fair, its not easy to make everything work perfect. It takes a lot of trying and testing. I cant help you out with NGINX-RTMP setup, im only here to support the Noalbs-guys with the project. But sounds like that you are pretty close to making it work after all. |
I understand that and I appreciate all your replies and clarifications, no doubt about that! Thank you very much! |
Hello.
As the title says, NOALBS v2.7.2 working as intended, except the part where it auto switches to my offline scene and stays there, even when im live and have no issues with bitrate. I try to force it back to the live and/or brb scene, both with my Twitch bot chat command !live and !brb and physically in OBS. It switches to the scene i prefer, but "instantly" switches back to offline scene and stays there.
EDIT: For the record, my camera is sending its feed to AWS RTMP, which OBS Media Source is receiving. Dont know if that has something to do with it?
EDIT 2: I have also disabled / set all "streamServers" to "enabled": false. Thats because i do not have any servers to show stats. Shouldnt be a problem? Its not required to have stats enabled?
Any ideas?
The text was updated successfully, but these errors were encountered: