[Freeswitch-users] Detect video presence in mod_conference

Ítalo Rossi italorossib at gmail.com
Wed Apr 8 04:51:00 MSD 2015


You can open a JIRA and do a Pull Request.

https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests

On Tue, Apr 7, 2015 at 8:44 PM, Mateus Dalepiane <mdalepiane at gmail.com>
wrote:

> Thank you for the suggestion, Steven.
>
> Actually I developed a solution within the thread that controls the
> conference video, and send an event when the video is paused or resumed.
>
> I would like to ask FS team if you are interested in integrating this into
> FS.
> The solution is pretty straight forward.
>
> How should I proceed?
>
> 2015-04-07 7:51 GMT-03:00 Steven Ayre <steveayre at gmail.com>:
>
> Not ideal, but you could try using the uuid_set_media_stats API on the
>> channel. If they have negotiated video this'll set some rtp_video_
>> variables which'll include packet counters (a snapshot each time you run
>> the API). You could see if they're sending video packets that way.
>>
>> On 6 April 2015 at 20:51, Mateus Dalepiane <mdalepiane at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I am looking for a mechanism to detect whether the user that currently
>>> holds the conference video floor is actually sending a video stream or not.
>>>
>>> So far I know that the variable CF_VIDEO may be used to check if the
>>> channel is video capable, either to send and/or receive video. But this is
>>> not enough to ensure that a user is sending video, just if he is able to
>>> send and/or receive video.
>>>
>>> My idea is to check if there are video packets flowing through FS, that
>>> would mean that the user holding the floor is sending video.
>>>
>>> Is there a better way to do this?
>>>
>>> If not, where would be the best place to monitor the video packets flow?
>>>
>>> Thanks!
>>>
>>> _________________________________________________________________________
>>> 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
>>
>
>
> _________________________________________________________________________
> 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
>



-- 
Ítalo Rossi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/be67d082/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list