List Info

Thread: Re: how real-world H.323 applications deal with video capabilities




Re: how real-world H.323 applications deal with video capabilities
user name
2007-02-04 05:16:51
On Sun, 04 Feb 2007 16:55:02 +0800
Simon Horne <s.hornepacketizer.com> wrote:

> 
> Craig
> 
> OK I see your point perhaps what we should not set the
video frame size 
> into the plugin and read the settings but perhaps make
all the settings for 
> each frame size retrievable from the plugin so a call
to 
> PopulateMediaFormatOptions(frameSize) will read the
settings for that 
> applicable frame size into the option list for the
capability exchange.

The maximum frame size is readable from the plugin
structure

See the following excerpt from the H.261 codec

static struct PluginCodec_Definition h261CodecDefn[6] = {

{ 
  // H.323 CIF encoder
  PLUGIN_CODEC_VERSION_VIDEO,         // codec API version
  &licenseInfo,                       // license
information

  PluginCodec_MediaTypeVideo |        // audio codec
  PluginCodec_RTPTypeExplicit,        // specified RTP type

  h261CIFDesc,                        // text decription
  YUV420PDesc,                        // source format
  h261CIFDesc,                        // destination format

  0,                                  // user data 

  H261_CLOCKRATE,                     // samples per second
  H261_BITRATE,                       // raw bits per
second
  20000,                              // nanoseconds per
frame

  CIF_WIDTH,                          // frame width
  CIF_HEIGHT,                         // frame height

> I think it still would be nice if we could also set the
frame size globally 
> however have the ability to properly change them safely
on a call by call 
> basis.

I agree completely, and that is what I proposed in my email

   Craig

------------------------------------------------------------
-----------
 Craig Southeren          Post Increment – VoIP Consulting
and Software
 craigspostincrement.com.au                  
www.postincrement.com.au

 Phone:  +61 243654666      ICQ: #86852844
 Fax:    +61 243656905      MSN: craig_southerenhotmail.com
 Mobile: +61 417231046      Jabber: craigsjabber.org

 "It takes a man to suffer ignorance and smile.
  Be yourself, no matter what they say."   Sting

------------------------------------------------------------
------------
Check the FAQ before asking! - http://www.
openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To
unsubscribe or
change your subscription options, goto
htt
p://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------
------------

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )