[Freeswitch-users] Question about large confeerence

Tihomir Culjaga tculjaga at gmail.com
Fri Apr 20 17:15:31 UTC 2018


a conference with 1000 members demands huge resources... and this is not
efficient if only 2-5% of members will actually talk.
you need to keep the actual conference to the minimum number of "speakers"
and move listeners to a streaming "service".

so, focus on how to get your entire conference streamed somewhere.

another thing to consider.... do the "listeners" really need to be in time
sync with the conference ? They will just hear the conversation from the
conference a bit later... thats all.

T.






On 20 April 2018 at 14:43, Abaci B <abaci64 at gmail.com> wrote:

> problem with shoutcast streaming is the extreme latency
>
> On Fri, Apr 20, 2018 at 1:30 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
> wrote:
>
>> you definitely want to have only the speakers into conference, and stream
>> to all others.
>>
>> -giovanni
>>
>> On 19 April 2018 at 23:37, Abaci B <abaci64 at gmail.com> wrote:
>>
>>> I was thinking that the muted flag (CAN_SPEAK?) is something that can
>>> change mid conference which means there is a chance of loosing a single
>>> frame (the last one right before muting). I was more interested in knowing
>>> as far as performance if it makes sense.
>>> not sure if this is safe but something like only starting
>>> conference_loop_launch_input if that flag is not set.
>>> I still wish there would be module that would do exactly this (something
>>> like shoutcast but local and without the shoutcast latency)
>>>
>>> On Thu, Apr 19, 2018 at 5:19 PM, Steven Ayre <steveayre at gmail.com>
>>> wrote:
>>>
>>>> There's already a muted flag you could use for that.
>>>>
>>>> On 19 April 2018 at 20:55, Abaci B <abaci64 at gmail.com> wrote:
>>>>
>>>>> Thanks for the reply.
>>>>> Another idea I'm thinking of is to add a LISTEN_ONLY mflag to
>>>>> mod_conference and only run conference_loop_input thread on channels that
>>>>> don't have this flag, that way I don't need to set up a shoutcast server
>>>>> and have everything contained within freeswitch, does that make sense?
>>>>>
>>>>> On Thu, Apr 19, 2018 at 3:20 PM, Giovanni Maruzzelli <
>>>>> gmaruzz at gmail.com> wrote:
>>>>>
>>>>>> definitely conference with two participant, and 598 on localstream
>>>>>>
>>>>>> -giovanni
>>>>>>
>>>>>> On Thu, Apr 19, 2018, 18:38 Abaci B <abaci64 at gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I'm trying to set up a large audio conference of over 1000 users
>>>>>>> where only 1 or 2 users are talking and the rest are just listening, but
>>>>>>> after 600-700 users the CPU usage gets too high and the audio gets choppy,
>>>>>>> I understand that mod_conference is not optimized for my use case but was
>>>>>>> wondering if someone has any suggestions on what can be done to optimize
>>>>>>> for my use case.
>>>>>>> I was also thinking that maybe there is a  better alternative for
>>>>>>> what I look for, such as having just the talkers on the conference and the
>>>>>>> listeners should listen to it via mod_local_stream or maybe use something
>>>>>>> like eavesdrop for the listeners but not sure if and how much performance I
>>>>>>> would gain.
>>>>>>> Thanks for any help or input
>>>>>>>
>>>>>>> ____________________________________________________________
>>>>>>> _____________
>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> consulting at freeswitch.org
>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>
>>>>>>> Official FreeSWITCH Sites
>>>>>>> http://www.freeswitch.org
>>>>>>> http://confluence.freeswitch.org
>>>>>>> http://www.cluecon.com
>>>>>>>
>>>>>>> FreeSWITCH-users mailing list
>>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free
>>>>>>> switch-users
>>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>>
>>>>>> ____________________________________________________________
>>>>>> _____________
>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>> consulting at freeswitch.org
>>>>>> http://www.freeswitchsolutions.com
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org
>>>>>> http://confluence.freeswitch.org
>>>>>> http://www.cluecon.com
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free
>>>>>> switch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>
>>>>>
>>>>> ____________________________________________________________
>>>>> _____________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free
>>>>> switch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free
>>>> switch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>>
>> Sincerely,
>>
>> Giovanni Maruzzelli
>> OpenTelecom.IT
>> cell: +39 347 266 56 18
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180420/533ae732/attachment-0001.html>


More information about the FreeSWITCH-users mailing list