Posted: Mon Jan 15, 2007 3:07 pm Post subject: [Asterisk-video] Videoswitch support for MeetMe
Hi all,
since as far as I know only app_conference has video support for
conferencing at the moment, and I thought it could be of interest for
the ongoing work on the list, I attach here a patch that's supposed to
add basic video support to MeetMe. It allows an user to send his video
(no transcoding and no mixing, just forwarding) to all other users in
the conference through a very basic console-based videoswitch mechanism.
Just use the 'videoswitch' console command to choose which user will be
the source of the video in the conference. Of course I know a console
command to switch is not the greatest way to accomplish this, but I
quickly added it only to show the switching actually works: adding some
DTMF mechanism to achieve the same result shouldn't give too much
problems. The patch modifies the trunk version of MeetMe, exactly
version 49678 of the application
(http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?rev=49678&view=markup),
but applying the same changes to any other version of MeetMe should work
fine as well.
Even if the video features are really simple in the provided patch, I'm
really interested in your opinion about it, and I'd really appreciate
some feedback on how to enhance it. This videoswitching is the core upon
which our work at University of Naples is currently based to add video
support to our open-source implementation of the XCON (IETF's
in-proposal standard for Centralized Conferencing) framework, which is
an modified version of MeetMe, enhanced with support for control
protocols to manage conferences and floors. The mechanism we use to
automatically switch video (instead of the console-based mechanism
provided here as proof of concept) is just using one of these protocols,
the Binary Floor Control Protocol (BFCP), which allows us to coordinate
users' access to resources provided by the conferencing system, e.g.
video in this case. At the moment we're also working on a remote video
mixer/transcoder that will interact with the modified MeetMe through an
ad-hoc protocol, and that will hopefully allow more users to send video
frames at the same time, with a single mixed video to be sent back to
all users in the conference (or more flows for the mixed video, if
different codecs are being used by different users).
If you're interested in some more details, checkout our project page on
Sourceforge (http://confiance.sf.net/), and feel absolutely free to
contact me via mail.
Cheers,
Lorenzo
--
Lorenzo Miniero, Junior Researcher
Dipartimento di Informatica e Sistemistica
Università degli Studi di Napoli "Federico II"
Via Claudio 21 -- 80125 Napoli (Italy)
Phone: +390817683821 - Fax: +390817683816
Email: lminiero@gmail.com
--
Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Mon Jan 15, 2007 4:52 pm Post subject: [Asterisk-video] Videoswitch support for MeetMe
Lorenzo,
This looks great!
Quote:
Just use the 'videoswitch' console command to choose which user will be
the source of the video in the conference.
Quote:
Even if the video features are really simple in the provided patch, I'm
really interested in your opinion about it, and I'd really appreciate
some feedback on how to enhance it.
One thing that I would add would be to send an AST_CONTROL_VIDUPDATE to
the source channel when you switch stream. This would cause a Fast
Update Request to be sent to the source so that they generate an I frame
and avoid a period of broken video on a switch.
Neil
--
Neil Stratford - http://www.vipadia.com/ - sip:call@vipadia.com
Vipadia Limited :: VoIP Research and Development
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Mon Jan 15, 2007 5:49 pm Post subject: [Asterisk-video] Videoswitch support for MeetMe
Hi Neil,
Quote:
Lorenzo,
This looks great!
Thanks a lot, glad you appreciated it!
Quote:
> Just use the 'videoswitch' console command to choose which user will
> be the source of the video in the conference.
> Even if the video features are really simple in the provided patch,
> I'm really interested in your opinion about it, and I'd really
> appreciate some feedback on how to enhance it.
One thing that I would add would be to send an AST_CONTROL_VIDUPDATE
to the source channel when you switch stream. This would cause a Fast
Update Request to be sent to the source so that they generate an I
frame and avoid a period of broken video on a switch.
Neil
Great, thanks for the suggestion! I noticed the broken video caused by
missing key-frames on switching, and I was just thinking on how to fix this.
I'll update the code and tell you when it's done.
Cheers,
Lorenzo
--
Lorenzo Miniero, Junior Researcher
Dipartimento di Informatica e Sistemistica
Università degli Studi di Napoli "Federico II"
Via Claudio 21 -- 80125 Napoli (Italy)
Phone: +390817683821 - Fax: +390817683816
Email: lminiero@gmail.com
--
Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum