| Description | Hierarchy | Fields | Methods | Properties | 
type unaRTPTunnelServer = class(unaRTPTransmitter)
RTP Tunnel server class.
![]()  | 
function addTunnel(const src, dst: tSockAddrIn): HRESULT; overload; | 
![]()  | 
function addTunnel(const src, dst: string): HRESULT; overload; | 
![]()  | 
function addTunnel(srcSSRC, dstSSRC: u_int32): HRESULT; overload; | 
![]()  | 
function removeTunnel(index: int): HRESULT; overload; | 
![]()  | 
function removeTunnel(srcSSRC, dstSSRC: u_int32): HRESULT; overload; | 
![]()  | 
function updateTunnel(index: int; srcSSRC, dstSSRC: u_int32): HRESULT; overload; | 
![]()  | 
function updateTunnel(index: int; const src, dst: string): HRESULT; overload; | 
![]()  | 
function doOpen(waitForThreadsToStart: bool = true): bool; override; | 
![]()  | 
procedure doClose(); override; | 
![]()  | 
procedure onPayload(addr: pSockAddrIn; hdr: prtp_hdr; data: pointer; len, packetSize: uint); override; | 
![]()  | 
property onLogEvent: proc_unaTunnelServerOnLog read f_log write f_log; | 
![]()  | 
property packetsReceived: int64 read f_ptIn; | 
![]()  | 
property packetsSent: int64 read f_ptOut; | 
![]()  | 
property tunnel[index:int]: punaTunnelMap read getTM; | 
![]()  | 
property tunnelCount: int read f_tc; | 
![]()  | 
function addTunnel(const src, dst: tSockAddrIn): HRESULT; overload; | 
![]()  | 
function addTunnel(const src, dst: string): HRESULT; overload; | 
![]()  | 
function addTunnel(srcSSRC, dstSSRC: u_int32): HRESULT; overload; | 
![]()  | 
function removeTunnel(index: int): HRESULT; overload; | 
![]()  | 
function removeTunnel(srcSSRC, dstSSRC: u_int32): HRESULT; overload; | 
![]()  | 
function updateTunnel(index: int; srcSSRC, dstSSRC: u_int32): HRESULT; overload; | 
![]()  | 
function updateTunnel(index: int; const src, dst: string): HRESULT; overload; | 
![]()  | 
function doOpen(waitForThreadsToStart: bool = true): bool; override; | 
| 
 Need to do some cleanup before opening.  | |
![]()  | 
procedure doClose(); override; | 
![]()  | 
procedure onPayload(addr: pSockAddrIn; hdr: prtp_hdr; data: pointer; len, packetSize: uint); override; | 
| 
 Analyze and redirect packets according to rules.  | |
![]()  | 
property onLogEvent: proc_unaTunnelServerOnLog read f_log write f_log; | 
| 
 Notifies on some server events.  | |
![]()  | 
property packetsReceived: int64 read f_ptIn; | 
![]()  | 
property packetsSent: int64 read f_ptOut; | 
![]()  | 
property tunnel[index:int]: punaTunnelMap read getTM; | 
![]()  | 
property tunnelCount: int read f_tc; | 
(c) 2012 Lake of Soft