sipxmediaadapterlib
Version 3.3
|
#include <IMediaSocket.h>
Public Member Functions | |
virtual | ~IMediaSocket () |
virtual void | pushPacket ()=0 |
virtual void | pushPacket (char *rtpPacket, size_t packetSize, int port)=0 |
virtual void | setVideoChannel (int channelId)=0 |
virtual void | setLastTimeReadToNow ()=0 |
virtual void | setEnabled (bool bEnabled)=0 |
virtual void | setPreferredReceiveAddress (const char *szAddress, int port)=0 |
Generic interface representing a media transport object. Implemented by VoiceEngineDatagramSocket, VoiceEngineConnectionSocket, and any other class which provides RTP transport of media.
|
inlinevirtual |
virtual destructor.
|
pure virtual |
Reads an RTP packet and 'pushes' it to media processing.
|
pure virtual |
Reads an RTP packet and 'pushes' it to media processing.
|
pure virtual |
Set the channel Id for video.
channelId | The VideoEngine channel id to be associated with this transport object. |
|
pure virtual |
Timestamp the object with the last time that data was read.
|
pure virtual |
Enable media transport reading & writing.
|
pure virtual |