Posted: Thu May 24, 2007 2:12 pm Post subject: [Asterisk-video] Getting negotiated formats
Hi all,
I hope I'm sending this mail to the right mailing list this time, since
by mistake I sent it to the developers list before...
I have a doubt regarding a feature that I couldn't exploit, even though
Kevin Fleming stated was there.
Since I'm working on a remote videomixer for MeetMe, I need to know
which formats have been negotiated when a user joins a conference, e.g.
if the user will be using H.261, h263 and so on, to setup an adequate
leg towards the external mixer and to forward the user the composed mix
in a format it understands. The only way I have been able to do it so
far is by waiting for the user to send its first video frame, and then
look at its subclass: this of course is an all but the perfect solution,
since a user could never send any video frame at all.
However, on the asterisk-dev ML I have been told that it should however
be possible to get the same information by just accessing some fields in
the ast_channel structure. By deduction, I supposed this information was
stored as a bit mask in readformat and writeformat, but I couldn't get
any coherent info from there in the scenarios I tried. Do you know if
there actually is a way to achieve this, or if support for this is
incomplete?
Thanks in advance, hope to hear you soon,
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: lorenzo.miniero@unina.it
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Thu May 24, 2007 10:54 pm Post subject: [Asterisk-video] Getting negotiated formats
Hi Lorenzo,
There was a speciall branch in the dev tree that was working on a better
way of handling media capabilities (perhaps ask Olle).
Also tray the rawwriteformat, rawreadformat and nativeformats.
Greetings
Sergio
----- Original Message -----
From: "Lorenzo Miniero" <lorenzo.miniero@unina.it>
To: <asterisk-video@lists.digium.com>
Sent: Thursday, May 24, 2007 4:00 PM
Subject: [Asterisk-video] Getting negotiated formats
Quote:
Hi all,
I hope I'm sending this mail to the right mailing list this time, since
by mistake I sent it to the developers list before...
I have a doubt regarding a feature that I couldn't exploit, even though
Kevin Fleming stated was there.
Since I'm working on a remote videomixer for MeetMe, I need to know
which formats have been negotiated when a user joins a conference, e.g.
if the user will be using H.261, h263 and so on, to setup an adequate
leg towards the external mixer and to forward the user the composed mix
in a format it understands. The only way I have been able to do it so
far is by waiting for the user to send its first video frame, and then
look at its subclass: this of course is an all but the perfect solution,
since a user could never send any video frame at all.
However, on the asterisk-dev ML I have been told that it should however
be possible to get the same information by just accessing some fields in
the ast_channel structure. By deduction, I supposed this information was
stored as a bit mask in readformat and writeformat, but I couldn't get
any coherent info from there in the scenarios I tried. Do you know if
there actually is a way to achieve this, or if support for this is
incomplete?
Thanks in advance, hope to hear you soon,
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: lorenzo.miniero@unina.it
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Fri May 25, 2007 8:31 am Post subject: [Asterisk-video] Getting negotiated formats
Hi Sergio,
thanks for the quick answer!
I had already tried the raw formats but they gave me the same results as
the supposedly negotiated ones; nativeformats looks much better for what
I need. I only see a problem in case a client has more than a video
codec in its SDP, and then only one is negotiated, since nativeformats
would contain them all, but that's an issue that I think I live with for
the moment...
Cheers,
Lorenzo
Sergio Garcia Murillo ha scritto:
Quote:
Hi Lorenzo,
There was a speciall branch in the dev tree that was working on a better
way of handling media capabilities (perhaps ask Olle).
Also tray the rawwriteformat, rawreadformat and nativeformats.
Greetings
Sergio
----- Original Message -----
From: "Lorenzo Miniero" <lorenzo.miniero@unina.it>
To: <asterisk-video@lists.digium.com>
Sent: Thursday, May 24, 2007 4:00 PM
Subject: [Asterisk-video] Getting negotiated formats
> Hi all,
>
> I hope I'm sending this mail to the right mailing list this time, since
> by mistake I sent it to the developers list before...
>
> I have a doubt regarding a feature that I couldn't exploit, even though
> Kevin Fleming stated was there.
>
> Since I'm working on a remote videomixer for MeetMe, I need to know
> which formats have been negotiated when a user joins a conference, e.g.
> if the user will be using H.261, h263 and so on, to setup an adequate
> leg towards the external mixer and to forward the user the composed mix
> in a format it understands. The only way I have been able to do it so
> far is by waiting for the user to send its first video frame, and then
> look at its subclass: this of course is an all but the perfect solution,
> since a user could never send any video frame at all.
> However, on the asterisk-dev ML I have been told that it should however
> be possible to get the same information by just accessing some fields in
> the ast_channel structure. By deduction, I supposed this information was
> stored as a bit mask in readformat and writeformat, but I couldn't get
> any coherent info from there in the scenarios I tried. Do you know if
> there actually is a way to achieve this, or if support for this is
> incomplete?
>
> Thanks in advance, hope to hear you soon,
>
> 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: lorenzo.miniero@unina.it
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
--
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: lorenzo.miniero@unina.it
_______________________________________________
--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