I
I
Ilya Vasiliev2014-10-05 02:25:23
RTMP
Ilya Vasiliev, 2014-10-05 02:25:23

Have I correctly calculated the channel width for the service?

Hello
There was a question about the channel width for the media service.
One broadcasts its video stream (web camera) to many, to 20, for example.
I installed Nginx and configured it. Rtmp is transferred without problems.
In the statistics provided by Munin ( 5.63.152.89/munin/network-day.html ) with one connection to the server of one publisher,
I see from 300 to 600 kilobits per second in the venet0 traffic parameter I am
attaching the screenshot 982f6e29ca454b10b5d7b92492ff95c5.jpg
Do I think correctly that one rtmp connection takes 300 -600 kilobits per second of channel width?
If we take into account that there will be, say, 10 publishers, and each of them will be watched by 100 people, then we get 1000 streams of 600 kilobits per second.
For rounding, we will assume that one stream is 1024 kilobits per second = 1 megabit per second.
So the required channel width is 1 gigabit?
And for such needs, you need a Dedicated server with a gigabit port, which costs from 2 thousand evergreens per month.
Or did I miscalculate something?
Do the same runetki rent rather expensive servers to provide a video signal to all connected ones?
After all, there are not 1000 simultaneous connections, but orders of magnitude more.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2014-10-05
@opium

a server with a gigabit channel does not cost 2000 evergreens, now almost all servers have a gigabit channel, all my servers in france, germany, usa and canada.
Very often, on the same continent, the copy speed is 100 megabytes per second between servers.
The only thing is that there is a traffic limit, but taking into account the non-constant load, it is quite realistic to meet the limits.
the cost of the server is slightly over 100 euros,
and it’s generally stupid for runetkas to save on servers, they charge 2 bucks per minute for a private, in total, if you take a private for a month, it will be
$2 * 60 * 24 * 30 = $86,400 bucks
, so you can have a separate one for each private server and that will be profitable.

A
Alexander Taratin, 2014-10-05
@Taraflex

For live broadcasts, use rtmpf. Works in a way similar to torrents.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question