[Freeswitch-users] Question about large confeerence
Abaci B
abaci64 at gmail.com
Sun Apr 22 21:38:33 UTC 2018
You mean creating a new endpoint that would stream the conference, same
idea as mod_lcoal_stream can stream a shoutcast stream? that's what I was
thinking of but after looking at the code involved I see that is beyond my
C skills, and I have a budget of only around $500 for this so don't think I
will find someone else to do it.
On Sat, Apr 21, 2018 at 4:43 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:
> is an audio conference.
>
> what I would look into is something on these lines: have a conference with
> only the speakers. Put the listeners on music on hold, and use the
> conference output as music on hold stream. Give the listeners a bind meta
> key for being connected to the conference if they need to speak.
>
> -giovanni
>
>
>
> On 20 April 2018 at 21:45, Madovsky <infos at madovsky.org> wrote:
>
>> Latency is often caused by buffer and high quality video.
>>
>> if you really need zero latency so find a way to set the buffer stream to
>> zero and use
>>
>> a very fast video encoding.
>> On 4/20/2018 10:29 AM, Abaci B wrote:
>>
>> I do understand that the way mod_conference work it is not efficient for
>> my use case, my question is about the best alternative.
>> Streaming would be ideal if it wouldn't be for the latency, since users
>> need to be able to switch to talk mode there is no way a latency of 5-10
>> seconds (or possibly more) is acceptable.
>> Another option is to use eavesdrop which I plan on testing next week to
>> see if it scales, if someone has any input on it I would appreciate.
>> The next option would be to optimize mod_conference for this use case, I
>> started looking at the code and identified some places that performance can
>> be optimized but may need to hire someone with better C skills to do the
>> actual coding.
>> another possibility may be, to use an RTP proxy that would just
>> distribute the RTP to all callers, this would give the best performance but
>> would limit features.
>> Last option would be to develop a new module optimized for low latency
>> streaming, but leave that as a last resort.
>>
>> On Fri, Apr 20, 2018 at 1:15 PM, Tihomir Culjaga <tculjaga at gmail.com>
>> wrote:
>>
>>> 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/free
>>>>>> switch-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/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
>>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180422/87f0b4af/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list