On Sun, 04 Feb 2007 16:55:02 +0800
Simon Horne <s.horne packetizer.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
craigs postincrement.com.au
www.postincrement.com.au
Phone: +61 243654666 ICQ: #86852844
Fax: +61 243656905 MSN: craig_southeren hotmail.com
Mobile: +61 417231046 Jabber: craigs jabber.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
------------------------------------------------------------
------------
|