A
A
Andrey2016-05-31 08:00:04
Video broadcast
Andrey, 2016-05-31 08:00:04

How to create an analogue of Twitch.tv?

Hello.
The concept of my project turned out to be very similar to the concept of twitch, although I learned about this already in the process of developing the idea.
How difficult and costly is it to implement? It is planned that a special application for broadcasting will be written.
And such a question: if two (three, four) people participate in one broadcast, suppose that they are from different parts of the world, how big will be the delay between them? Is it possible to achieve their full synchronization and compensate for the delay?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chupasaurus, 2016-05-31
@chupasaurus

Dreaming is not bad.
Simple math. To send a stream of 3 Mbps with a maximum density per node, you need about the number of users / 300 servers + local overhead on the CDN and distribution nodes to which the actual streams come. And these are not VPS / VDS, but full-fledged servers, respectively, and the price of renting all the stuff is rather big.
Synchronization of threads is a bad job. If frames can be sent in an indirect order with delays of 200+ ms without taking into account the delivery time to the server, accordingly, you will have to make a buffer of 5 seconds, which will also have to be decoded + assembled from several + encoded without a guarantee that it will work as it should, moreover, there is server resources will be miserable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question