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