[h323plus] Help About Add H.264 Capability

Majid Sadeghi Alavijeh majid.sadeghi.alavijeh at gmail.com
Fri Sep 2 12:33:57 EDT 2011


Hi.
I am going to add h264 capability to h323 endpoint. i create a class that
drive from H323VideoCapability,

--------------------------------------------------------------------------------------------------------------------------------------

class My_H264Capability : public H323VideoCapability
{
    PCLASSINFO(My_H264Capability,H323VideoCapability)
public:
    My_H264Capability();


    virtual PObject * Clone() const;

    virtual PString GetFormatName() const;

    virtual H323Codec* CreateCodec(H323Codec::Direction direction) const;

    virtual unsigned int GetSubType() const;

    virtual PBoolean OnSendingPDU(H245_VideoMode&) const;
};

H323_REGISTER_CAPABILITY(My_H264Capability,"h.264")


----------------------------------------------------------------------------------------------------------------------------

and when i add it to endpoint capability via AddCapability(new
My_H264Capability()) ;

it does not work.

what should i do ?
Help me please.

-- 
Best Regards.
Majid Sadeghi Alavijeh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20110902/f98a3cfa/attachment-0002.html>


More information about the h323plus mailing list