Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kurento multiple one-to-many broadcast sessions

Tags:

kurento

I want to create more than one broadcasting sessions, (like chat rooms so there could be n number of masters each broadcasting to different group of viewers).

Is multiple broadcasting sessions possible? if so how can I achieve this? can I do something like the implementation of one-to-one calls given in the tutorials on github?

Currently my code is same as the kurento-one2many-call Node.js example provided on Github.

EDIT: I have been going through the code and tutorials and realized that this might be achievable by introducing different pipelines for each 'chat room'. Is this the way to go?

like image 457
PU2014 Avatar asked Jun 21 '15 13:06

PU2014


1 Answers

The way to do this would be to create one pipeline for each broadcast session. This is similar to what the kurento-room framework and kurento-group-call tutorial do. Basically, you create one pipeline every time a new room (broadcast session in your case) is created, and start creating endpoint inside the session's pipeline. That way, once the session is finished, you can destroy the pipeline without interfering with other active sessions.

If you are planning on supporting 200+ users per broadcast, I'd suggest you match 1 pipeline per KMS, and spawn new KMS-VM instances as needed. That way, you can create an elastic cloud based on Kurento.

like image 72
igracia Avatar answered Sep 21 '22 16:09

igracia