[h323plus] Fwd: Problem in receiving 4CIF with H.263 codec

Taranpreet Anand taran.kanand at gmail.com
Tue Jan 29 04:35:36 EST 2008


Thanks Simon.
The trace files for 1) Sample to Sample &  2) Salyens(4CIF) to Sample have
been attached alongwith.

Also, the capabilities are being added as follows:

// add codecs
H323PluginCodecManager & codecMgr = *(H323PluginCodecManager*)
PFactory<PPluginModuleManager>::CreateInstance("H323PluginCodecManager");
PPluginModuleManager::PluginListType pluginList =
codecMgr.GetPluginList();

      H323Capability* cap[10];
      this->AddAllCapabilities(0, P_MAX_INDEX, "*");

      PStringArray preferenceorder;

     PString str1_cif = "H.261";
     PString str1_qcif = "H.261-QCIF{sw}";

     PString str3_cif = "H.263-CIF";
     PString str3_qcif = "H.263-QCIF{sw}";
     PString str3_4cif = "H.263";

     if(a4CIF)
     {
           m_nTxvideoWidth = i4CIF.m_nWidth;//size

           m_nTxvideoHeight =i4CIF.m_nHeight;//
           if(aH263)
           {
                 preferenceorder.AppendString(str3_4cif);
                 SetVideoFrameSize(H323Capability::cif4MPI);
           }
     }
     else if(aCIF)
     {
           m_nTxvideoWidth = iCIF.m_nWidth;
           m_nTxvideoHeight =iCIF.m_nHeight;
           m_nbw = BW * 2;
           m_nframerate = FRAMERATE * 2;
           if(aH263)
           {
                 preferenceorder.AppendString(str3_cif);
           }
           if(aH261)
           {
                 preferenceorder.AppendString(str1_cif);
           }
     }
     else if(aqCIF)
     {
           m_nTxvideoWidth = iQCIF.m_nWidth;
           m_nTxvideoHeight =iQCIF.m_nHeight;
           m_nbw = BW * 1;
           m_nframerate = FRAMERATE * 0.5;
           if(aH263)
           {
                 preferenceorder.AppendString(str3_qcif);
           }
           if(aH261)
           {
                 preferenceorder.AppendString(str1_qcif);
           }
     }
     else
     {
           // no video codec added in capability
     }
     capabilities.Reorder(preferenceorder);
     for(int i = 0; i< 10; i++)
     {
           cap[i] = capabilities.FindCapability(i);
     }



Thanks
Taranpreet


(See attached file: Sample_toSample.txt)(See attached file:
Salyens(4CIF)_to_Sample.txt)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20080129/52673bd7/attachment-0004.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Sample_toSample.txt
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20080129/52673bd7/attachment-0008.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Salyens(4CIF)_to_Sample.txt
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20080129/52673bd7/attachment-0009.txt>


More information about the h323plus mailing list