Tuyan Özipek b2a026b9d1 new codebase, does not work for now, but does the things in opal way
and media flows in rtp.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-12 23:14:55 +00:00

52 lines
1.4 KiB
C++

#ifndef __OPAL_H323_CONNECTION__
#define __OPAL_H323_CONNECTION__
#include "opal_h323.h"
#include "fsep.h"
#include "fsmanager.h"
class FSH323EndPoint;
class FSExternalRTPChannel : public H323_ExternalRTPChannel
{
PCLASSINFO(FSExternalRTPChannel, H323_ExternalRTPChannel);
public:
FSExternalRTPChannel(H323Connection & connection, ///< Connection to endpoint for channel
const H323Capability & capability, ///< Capability channel is using
Directions direction, ///< Direction of channel
unsigned sessionID ); ///< Session ID for channel
virtual BOOL Start();
protected:
BYTE payloadCode;
};
class FSH323Connection : public H323Connection
{
PCLASSINFO(FSH323Connection, H323Connection);
public:
FSH323Connection(OpalCall &call, FSH323EndPoint &endpoint,
const PString & token,const PString &alias,
const H323TransportAddress & address,unsigned options = 0);
//External H323 RTP
/*
H323Channel* CreateRealTimeLogicalChannel(const H323Capability & capability,
H323Channel::Directions dir,
unsigned sessionID,
const H245_H2250LogicalChannelParameters * param,
RTP_QOS * rtpqos);
*/
virtual OpalMediaFormatList GetMediaFormats();
~FSH323Connection();
};
#endif // __FREESWITCH_H323_CONNECTION__