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.
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 TH-cam/Twitch / etc...? Or is the relay (NMS "push mode") only well suited for scaling up end browsers watching the live ?
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
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!
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?
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!
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?
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.
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!
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 🙏
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)
You have become a family to me! I love your long videos ! Thanks for existing!
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!!! ❤️
@17:20 Beatboxing with chrome tabs 😂😂
Underrated video. This is amazing!
I admire your enthusiasm :)
LET'S GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO! FINALLY!
Love what you do, keep the good work👍😍
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 TH-cam/Twitch / etc...? Or is the relay (NMS "push mode") only well suited for scaling up end browsers watching the live ?
KING
Thanks Hussein you're awesome
Subscribed! Thanks for your great time that you give us..
well presented. it helped a lot. thank you so much
Makes it look so easy.. awesome.
amazing hussain!!!!
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?
Awesome content!!
Thank you bro so much ! love you!
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.
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
this is dope
excellent!
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
Any formula to calculate the total possible users :)?
@:pawit yes, thanks for the formula, it really calculates :D.
Nice video
Thank you so much
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?
i would love to see a video about webrtc , stun/turn , signaling server and all that stuff !!!
th-cam.com/video/FExZvpVvYxA/w-d-xo.html ☺️
I love you
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!
Wondering how to apply this in production
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 ?
Hey Hussien,
Can you tell us about : Architecture of ZAB - ZooKeeper Atomic Broadcast protocol?
Regards
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?????
thank you so much for this awesome tutorial but i think that maybe its not good idea to proxy the main relay
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.
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!
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?
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.
If we relay the stream then the same stream will play in all servers... Then all servers will cost the same resource...
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?
Hussein how do we scale this application further?
Is there anyway that I can host the node media server on an online server so that anyone can stream on my site?
How to use ws in it
Can you talk about ECH and Mozilla dropping ESNI
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 !!
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)
can you help setup my server ?
You forgot to "npm init" before you "npm install" anything.
too bad all the good videos use OBS