[Freeswitch-users] Detect video presence in mod_conference

Steven Ayre steveayre at gmail.com
Tue Apr 7 14:51:19 MSD 2015


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/f65d1002/attachment.html 


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