Mikhail Novikov
Mikhail Novikov

Reputation: 633

Kurento restreaming

Playing with Kurento Media Server, i realized that while it scales linearly until about 500 streams, it's not behaving good after that point, and so far i was unable to scale it to 1000 streams on a server (even 4x stronger than the one from which it serves 500 streams with just 60% load). Exceptions during connections and all kinds of trouble begins from about 800 connections.

So my next plan is to run several Docker containers on one mighty server, each serving 500 connections, hopefully reaching 2500 streams on a double processor, 16 core Xeon with 128Gb of RAM. In order to do this, i need a way to re-stream one client stream to several other servers, i.e. achieve KMS-to-KMS streaming.

Is there any sample code of how to do it with the Kurento JS API?

Thanks!

Upvotes: 0

Views: 1224

Answers (1)

igracia
igracia

Reputation: 3541

You can check the kurento-tree project. It is written in Java, but you should be able to get an idea of how it is done, and port it to Node.js, as there is no JavaScript version.

Upvotes: 1

Related Questions