| Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables | 
P2P RTP Tunnel server class.
Version 2.5.2010.07 First release
Version 2.5.2010.10 New SSRC map
| Name | Description | 
|---|---|
Class unaRTPTunnelServer | 
RTP Tunnel server class. | 
packed record unaTunnelMap | 
punaTunnelMap = ˆunaTunnelMap; | 
proc_unaTunnelServerOnLog = procedure(sender: tObject; event: int; data: int) of object; | 
C_EV_S_STARTED	= 1; | 
C_EV_S_STOPPED	= 2; | 
C_EV_T_ADDED		= 5; | 
C_EV_T_REMOVED	= 7; | 
C_EV_T_RESOLVED_DST	= 4; | 
C_EV_T_RESOLVED_SRC	= 3; | 
C_EV_T_UPDATED	= 6; | 
c_max_tunnels	 	= 50; | 
C_MT_ADDR		= 1; | 
C_MT_SSRC		= 2; | 
E_BAD_ADDRESS		= -101; | 
E_BAD_INDEX		= -102; | 
E_BAD_SSRC		= -104; | 
E_LOCKED		= -103; | 
E_TOO_MANY_TUNNELS	= -100; | 
punaTunnelMap = ˆunaTunnelMap; | 
| 
 SRC <-> DSP map rule  | 
proc_unaTunnelServerOnLog = procedure(sender: tObject; event: int; data: int) of object; | 
| 
 Notifies server events Parameters
  | 
C_EV_S_STARTED	= 1; | 
| 
 map SSRCs server was started - data is port number  | 
C_EV_S_STOPPED	= 2; | 
| 
 server was stopped - data is status code  | 
C_EV_T_ADDED		= 5; | 
| 
 new tunnel was added - data is tunnel index  | 
C_EV_T_REMOVED	= 7; | 
| 
 tunnel was removed - data is tunnel index  | 
C_EV_T_RESOLVED_DST	= 4; | 
| 
 SSRC tunnel has resolved dest address - data is tunnel index  | 
C_EV_T_RESOLVED_SRC	= 3; | 
| 
 SSRC tunnel has resolved source address - data is tunnel index  | 
C_EV_T_UPDATED	= 6; | 
| 
 tunnel was updated - data is tunnel index  | 
c_max_tunnels	 	= 50; | 
C_MT_ADDR		= 1; | 
| 
 malformed SSRC  | 
C_MT_SSRC		= 2; | 
| 
 map socket addresses  | 
E_BAD_ADDRESS		= -101; | 
| 
 too many tunnels  | 
E_BAD_INDEX		= -102; | 
| 
 malformed address  | 
E_BAD_SSRC		= -104; | 
| 
 server is locked  | 
E_LOCKED		= -103; | 
| 
 invalid index  | 
E_TOO_MANY_TUNNELS	= -100; | 
| 
 maximum number of tunnels per server error codes  | 
(c) 2012 Lake of Soft