Re: [h323plus] How to Add Extended Video Capability for H.239
Simon
I think the reason why dynamic H263 codec is not being loaded is because of the flags field in PluginCodec_Definition
For dynamic codec flag is
PluginCodec_MediaTypeVideo | // audio codec PluginCodec_MediaTypeExtVideo | //extended video PluginCodec_RTPTypeExplicit, // specified RTP type
which makes up value of 69.
Now in H323PluginCodecManager::RegisterCodecs() function
the check ( videoSupported && ((encoder.flags & PluginCodec_MediaTypeMask) == PluginCodec_MediaTypeVideo ) && strcmp(encoder.sourceFormat, "YUV420P") == 0 )
fails because (encoder.flags & PluginCodec_MediaTypeMask) == 5 and PluginCodec_MediaTypeVideo = 4 . There is no flag check for extended video. So the codec is not loaded. I am using H323plus version 1.19.5 downloaded from h323plus site.
I am just calling AddAllCapabilities(0, 0, "*") to load the plugins. Is there something else to be done to load extended video capabilities because I think this call is not loading extended video codecs because of the reason mentioned above.
Abhishek
OK you are using 1.19.5. There has been some improvements in the current CVS which changes the detection method of extended video capability. You should be using the CVS version.
I hope to have the next and first stable release 1.20 available within the next couple of weeks.
Simon -----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of Abhishek Rohilla Sent: Tuesday, January 08, 2008 3:39 PM To: h323plus@lists.packetizer.com Subject: Re: [h323plus] How to Add Extended Video Capability for H.239
Simon
I think the reason why dynamic H263 codec is not being loaded is because of the flags field in PluginCodec_Definition
For dynamic codec flag is
PluginCodec_MediaTypeVideo | // audio codec PluginCodec_MediaTypeExtVideo | //extended video PluginCodec_RTPTypeExplicit, // specified RTP type
which makes up value of 69.
Now in H323PluginCodecManager::RegisterCodecs() function
the check ( videoSupported && ((encoder.flags & PluginCodec_MediaTypeMask) == PluginCodec_MediaTypeVideo ) && strcmp(encoder.sourceFormat, "YUV420P") == 0 )
fails because (encoder.flags & PluginCodec_MediaTypeMask) == 5 and PluginCodec_MediaTypeVideo = 4 . There is no flag check for extended video. So the codec is not loaded. I am using H323plus version 1.19.5 downloaded from h323plus site.
I am just calling AddAllCapabilities(0, 0, "*") to load the plugins. Is there something else to be done to load extended video capabilities because I think this call is not loading extended video codecs because of the reason mentioned above.
participants (2)
-
Abhishek Rohilla
-
Simon Horne