Oh, this video is very interesting for me! I'm actually looking at low-latency streaming solutions and offering some additional features, like camera angles. WebRTC was pretty easy in a test environment, but deploying it is a nightmare! STUN, TURN and all those things just aren't needed with a RTMP-setup. This video was very appreciated🧡
WebRTC can also use a server. For example Jitsi has Videobridge. (I have no experience streaming so I can't talk about results, I just know what exists)
Wow great timing: it just so happens that I setup an RTMP server today (running out of an nginx docker container I wrote) with another container with gstreamer pushing a live stream. Gonna watch this later.
please i have 2 questions: 1)i want to scale horiz servers that will be consumed by watchers but how can i add a new server instance in relay push tasks?? 2) in doc i found pull mode can i use pull mode from servers to fetch the stream that i want from relay ??? thank youuu
very interesting indeed, i could not yet find this into public documentations. Mind you, your nodemedia server relay mode, actually is an RTMP server, which restreams using an RTMP client (ffmpeg sending RTMP stream) So is that feature first designed with multi streaming also ? (ffmpeg restreaming to RUclips/Twitch / etc...? Or is the relay (NMS "push mode") only well suited for scaling up end browsers watching the live ?
You did the scaling for lareg number viewers are there but you didn't setup loadblacing for large number of streamers, there is relay server but I think this will increase the latency, can't we use Nginx as Revers proxy for rtmp protocol if yes can you please share the config for that?
Is possible agregate the analytics data from all rmtp servers of the ha proxy in only one? its cool to have HA and high demand scalability, but how to merge all stats of the all server nodes? thank you!
I configured relay and the haproxy to load balance streams. However, when I load up the streams in VLC or web browser, round robin doesn't happen. All streams stay on Server1. Why aren't they being routed to Server2. Anyone know why?
Nice bro! My question is... If I have 3 servers, does the relay method go on all 3 servers or only on one? since with load balancing a server is chosen at random. Thank's bro!
I cant even open the admin app, I just get a 503, I am trying to run this on an actual website but all I have access to is cpanel and the file directory, and the log for my nodejs app has some random unexpected syntax errors from within the modules scripts relating to a /streams route every time I try and connect to the admin app
@hussein - Great Stuff. Would you by any chance know how we can receive or consume a "RTMPS" stream? I'm having trouble finding a flutter video player that can consume a RTMPS stream.
Hi Bro your content is excellent today i m configure the NMS server but the m3u8 URL is not working for me pls help me and Keep up the great work. See you soon!
HI bro awesome video thank you, I m build a node media server in my case HLS and DASH is not working with my server I followed the given website still hls and dash is not working pls can u tell the where is the problem (www.npmjs.com/package/node-media-server)
I envy your enthusiasm, Hussein. Awesome content!
Hussein, your content is excellent. Thanks for all you do. It isn't easy to make videos consistently. Keep up the great work. See you soon!
Thank you so much dear 🙏
You have become a family to me! I love your long videos ! Thanks for existing!
Another precise and awesome tutorial from the King of Backend Engineering!
Oh, this video is very interesting for me!
I'm actually looking at low-latency streaming solutions and offering some additional features, like camera angles.
WebRTC was pretty easy in a test environment, but deploying it is a nightmare!
STUN, TURN and all those things just aren't needed with a RTMP-setup.
This video was very appreciated🧡
WebRTC can also use a server. For example Jitsi has Videobridge.
(I have no experience streaming so I can't talk about results, I just know what exists)
Wow great timing: it just so happens that I setup an RTMP server today (running out of an nginx docker container I wrote) with another container with gstreamer pushing a live stream.
Gonna watch this later.
Yeah, for me as well! Timing couldn't be better
You guys might want to get on the Community Discord for this channel and collaborate.
@@autohmae Sure! Where is it? I can’t find it.
Dude I love your vids! Great job man
❤️
Me too!!! ❤️
Underrated video. This is amazing!
Love what you do, keep the good work👍😍
I admire your enthusiasm :)
Subscribed! Thanks for your great time that you give us..
@17:20 Beatboxing with chrome tabs 😂😂
Thanks Hussein you're awesome
well presented. it helped a lot. thank you so much
Makes it look so easy.. awesome.
please i have 2 questions:
1)i want to scale horiz servers that will be consumed by watchers but how can i add a new server instance in relay push tasks??
2) in doc i found pull mode can i use pull mode from servers to fetch the stream that i want from relay ???
thank youuu
LET'S GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO! FINALLY!
very interesting indeed, i could not yet find this into public documentations.
Mind you, your nodemedia server relay mode, actually is an RTMP server, which restreams using an RTMP client (ffmpeg sending RTMP stream)
So is that feature first designed with multi streaming also ? (ffmpeg restreaming to RUclips/Twitch / etc...? Or is the relay (NMS "push mode") only well suited for scaling up end browsers watching the live ?
The app I'm developing also shorts to NMS 😂😅 NoMercy MediaServer
I will definitely peek into their code to see what they do 😁 it looks nice.
Thank you bro so much ! love you!
You did the scaling for lareg number viewers are there but you didn't setup loadblacing for large number of streamers, there is relay server but I think this will increase the latency, can't we use Nginx as Revers proxy for rtmp protocol if yes can you please share the config for that?
Can you share your experience?
Good tutorial ! Impressive 👍😍. But I have some doubts. In production, how can I decide how many servers I have to create based on the users count ?.
How do you decided?
amazing hussain!!!!
Wondering how to apply this in production
Any formula to calculate the total possible users :)?
@:pawit yes, thanks for the formula, it really calculates :D.
Awesome content!!
Excellent! can we upload this to GCP somehow?
Is possible agregate the analytics data from all rmtp servers of the ha proxy in only one? its cool to have HA and high demand scalability, but how to merge all stats of the all server nodes? thank you!
I configured relay and the haproxy to load balance streams. However, when I load up the streams in VLC or web browser, round robin doesn't happen. All streams stay on Server1. Why aren't they being routed to Server2. Anyone know why?
same problem
did you find the solution?????
i would love to see a video about webrtc , stun/turn , signaling server and all that stuff !!!
ruclips.net/video/FExZvpVvYxA/видео.html ☺️
Nice bro! My question is... If I have 3 servers, does the relay method go on all 3 servers or only on one? since with load balancing a server is chosen at random. Thank's bro!
Yes you can configure relay to publish on all 3 servers
All the best
how do i set it up so i can stream from outside my network to the server, I want to make it my irl bitrate control with NOALBS.
I cant even open the admin app, I just get a 503, I am trying to run this on an actual website but all I have access to is cpanel and the file directory, and the log for my nodejs app has some random unexpected syntax errors from within the modules scripts relating to a /streams route every time I try and connect to the admin app
i dint find any tutorials or doc for adaptive bit rate stream on node media server...can u please tell me how to do that?
Hey Hussien,
Can you tell us about : Architecture of ZAB - ZooKeeper Atomic Broadcast protocol?
Regards
@hussein - Great Stuff. Would you by any chance know how we can receive or consume a "RTMPS" stream? I'm having trouble finding a flutter video player that can consume a RTMPS stream.
Is there anyway that I can host the node media server on an online server so that anyone can stream on my site?
Hussein how do we scale this application further?
How does the proxy differentiate between a client pushing a stream, which has to hit app 1, vs a consuming client, who can access any server?
KING
Thank you so much
amazing! may i ask about how many viewers are supported? is it possible to reach 1000 - 5000 viewers if server has a big CPU ( Cores ) with 32gb ram ?
I have a problem.
[INFO] HTTP server listening on port undefined:8000
[INFO] Rtmp Server listening on port undefined:1935
How to use ws in it
excellent!
this is dope
i try with HLS with to much fragment files unfortunately can you share something to learn ? :)
btw i agree you are the netflix of developers community stolen comment by comments on your channel !!
thank you so much for this awesome tutorial but i think that maybe its not good idea to proxy the main relay
Nice video
Hi Bro your content is excellent today i m configure the NMS server but the m3u8 URL is not working for me pls help me and Keep up the great work. See you soon!
If we relay the stream then the same stream will play in all servers... Then all servers will cost the same resource...
Can you talk about ECH and Mozilla dropping ESNI
HI bro awesome video thank you, I m build a node media server in my case HLS and DASH is not working with my server I followed the given website still hls and dash is not working pls can u tell the where is the problem (www.npmjs.com/package/node-media-server)
I love you
can you help setup my server ?
You forgot to "npm init" before you "npm install" anything.
too bad all the good videos use OBS