Home Units Hierarchy Routines All identifiers

Unit unaRTPTunnel

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

P2P RTP Tunnel server class.

Version 2.5.2010.07 First release

Version 2.5.2010.10 New SSRC map

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class unaRTPTunnelServer RTP Tunnel server class.
packed record unaTunnelMap  

Types

punaTunnelMap = ˆunaTunnelMap;
proc_unaTunnelServerOnLog = procedure(sender: tObject; event: int; data: int) of object;

Constants

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;

Description

Types

punaTunnelMap = ˆunaTunnelMap;

SRC <-> DSP map rule

proc_unaTunnelServerOnLog = procedure(sender: tObject; event: int; data: int) of object;

Notifies server events

Parameters
event
see C_EV_xxx constants

Constants

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

Author

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09