27 #ifndef OPAL_OPAL_SOCKEP_H
28 #define OPAL_OPAL_SOCKEP_H
40 class OpalSocketConnection;
42 #define OPAL_SOCK_PREFIX "sock"
44 #define OPAL_OPT_SOCK_EP_AUDIO_IP "audio-ip"
45 #define OPAL_OPT_SOCK_EP_AUDIO_PORT "audio-port"
46 #define OPAL_OPT_SOCK_EP_AUDIO_PROTO "audio-proto"
47 #define OPAL_OPT_SOCK_EP_AUDIO_CODEC "audio-codec"
51 #define OPAL_OPT_SOCK_EP_VIDEO_IP "video-ip"
52 #define OPAL_OPT_SOCK_EP_VIDEO_PORT "video-port"
53 #define OPAL_OPT_SOCK_EP_VIDEO_PROTO "video-proto"
54 #define OPAL_OPT_SOCK_EP_VIDEO_CODEC "video"
55 #define OPAL_OPT_SOCK_EP_FRAME_RATE "frame-rate"
114 const PString & party,
115 void * userData = NULL,
116 unsigned int options = 0,
149 unsigned options = 0,
198 const PString & remoteParty
296 PIPSocket * & socket,
297 const PString & addrKey,
298 const PString & portKey,
299 const PCaselessString & protoKey
310 #endif // OPAL_OPAL_SOCKEP_H
PIPSocket * m_videoSocket
Definition: sockep.h:305
Definition: manager.h:150
PDECLARE_MUTEX(m_writeMutex)
PIPSocket * m_audioSocket
Definition: sockep.h:303
virtual void OnReleased()
Definition: localep.h:469
virtual bool TransferConnection(const PString &remoteParty)
virtual bool OnOutgoing()
Definition: connection.h:530
OpalSockEndPoint(OpalManager &manager, const char *prefix=OPAL_SOCK_PREFIX)
virtual PSafePtr< OpalConnection > MakeConnection(OpalCall &call, const PString &party, void *userData=NULL, unsigned int options=0, OpalConnection::StringOptions *stringOptions=NULL)
#define OPAL_SOCK_PREFIX
Definition: sockep.h:42
virtual OpalMediaFormatList GetMediaFormats() const
bool OpenMediaSocket(PIPSocket *&socket, const PString &addrKey, const PString &portKey, const PCaselessString &protoKey)
virtual bool OnWriteMediaData(const OpalMediaStream &mediaStream, const void *data, PINDEX length, PINDEX &written)
OpalSockEndPoint & m_endpoint
Definition: sockep.h:302
virtual bool OnReadMediaData(OpalMediaStream &mediaStream, void *data, PINDEX size, PINDEX &length)
virtual bool OnMediaCommand(OpalMediaStream &stream, const OpalMediaCommand &command)
virtual bool OnIncoming()
OpalSockConnection(OpalCall &call, OpalSockEndPoint &endpoint, void *userData, unsigned options=0, OpalConnection::StringOptions *stringOptions=NULL)
virtual OpalLocalConnection * CreateConnection(OpalCall &call, void *userData, unsigned options, OpalConnection::StringOptions *stringOptions)