You know freeswitch conferencing already has this stuff built into C... You just tag the users you don't want as speakers to be muted and it never calls the mixer for those streams, it only mixes the talkers then muxes those frames out to the other callers. Using this mechanism and an external call director its possible to have 1000s of 'listeners' spread across multiple boxes with talkers all confined to a 'master' box that also provides shoutcasting etc On 3/27/10 7:50 PM, "David Knell" <dave@3c.co.uk> wrote:
Hi -
I've seen the odd query on the list about building and scaling large audio conferences. Given that most callers will be listen-only, it's possible to scale up by transmitting a single RTP stream to multiple callers.
Here's some proof-of-concept code, which roughly halves the CPU usage for a 200-user (plus one speaker) conference, written in that highest of performance languages, Perl: http://www.softivr.com/wiki/index.php/HP_Conferencing
--Dave
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org