<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=281334907-28012008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=281334907-28012008><FONT face=Arial color=#0000ff size=2>You 
need to check the trace log to find the identifier you are being sent. 
There appears to be a descrepancy.</FONT></SPAN></DIV>
<DIV><SPAN class=281334907-28012008><FONT face=Arial color=#0000ff size=2>H.245 
Annex E defines you should be receiving an Identifier of "0.0.8.245.1.0.0" 
but you may not.</FONT></SPAN></DIV>
<DIV><SPAN class=281334907-28012008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=281334907-28012008><FONT face=Arial color=#0000ff size=2>I 
would also be nice to have this work submitted back to the project to the 
benefit of both h323plus and Opal.</FONT></SPAN></DIV>
<DIV><SPAN class=281334907-28012008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=281334907-28012008><FONT face=Arial color=#0000ff 
size=2>Simon</FONT></SPAN></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  h323plus-bounces@lists.packetizer.com 
  [mailto:h323plus-bounces@lists.packetizer.com]<B>On Behalf Of 
  </B>abhishekrohilla@zapak.com<BR><B>Sent:</B> Monday, January 28, 2008 4:29 
  PM<BR><B>To:</B> h323plus@lists.packetizer.com<BR><B>Subject:</B> [h323plus] 
  Help required with MPEG4 Plugin for H323Plus<BR><BR></FONT></DIV>Hi<BR><BR>I 
  have build a mpeg4 plugin dll which is able to load generic Video Capabilities 
  for mpeg4 codec. I am trying to connect with Salyens VoIP.<BR>The problem is 
  that in 
  <BR><BR>H323GenericCapabilityInfo::OnReceivedGenericPDU(OpalMediaFormat & 
  mediaFormat,<BR>                                                     
  const H245_GenericCapability & 
  pdu,<BR>                                                     
  H323Capability::CommandType type)<BR><BR>the very first check<BR><BR>if 
  (pdu.m_capabilityIdentifier != *identifier)<BR>    return 
  FALSE;<BR><BR>returns FALSE and hence the capability is not negotiated.<BR>I 
  think I have missed some parameter while defining mpeg4 codec 
  definition.<BR><BR>MPEG4 plugin requires <FONT face=Verdana 
  size=2><I>h323CapabilityData </I></FONT>also. I have defined capability data 
  as follows<BR><BR><BR>static const struct 
  PluginCodec_H323GenericParameterDefinition mpeg4_h323params[] = <BR>{ 
  <BR>    {1,42, 
  PluginCodec_H323GenericParameterDefinition::PluginCodec_GenericParameter_unsignedMin,{145}},   
  // taken from H264 plugin file<BR>    NULL <BR>}; 
  <BR><BR>static const struct PluginCodec_H323GenericCodecData mpegcap 
  =<BR>{<BR>  OpalPluginCodec_Identifer_MPEG4,  // capability 
  identifier (Ref: Table I.1 in H.245)<BR>  
  3000000,                             
  // Must always be this regardless of "Max Bit Rate" option<BR>  
  sizeof(mpeg4_h323params),<BR>  mpeg4_h323params<BR>};<BR><BR>The <FONT 
  face=Verdana size=2><I>h323CapabilityData points to mpegcap in 
  PluginCodec_Definition.<BR>I am doubtful about 
  </I></FONT>H323GenericParameterDefinition, Can someone please help me with 
  it.<BR><BR>Thanks<BR><BR><BR><BR>-----------------------------------------------------------------<BR>Get 
  your free Email ID at www.zapakmail.com now! <BR><A 
  href="http://ads.zapak.com/ads.dll/clickthrough?msid=2607&cid=986&slotid=312" 
  target=_new><IMG height=40 alt=Advertisement 
  src="http://ads.zapak.com/ads.dll/geteimage?msid=2607&cid=986&slotid=312" 
  width=580 border=0 NOSEND="1"></A> </BLOCKQUOTE></BODY></HTML>