Home Units Hierarchy Routines All identifiers

Class unaSDPParser

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaSDPParser = class(unaHTTPparser)

Description

Basic SDP parser

Hierarchy

Overview

Methods

Public constructor create(response: unaHTTPparser = nil);
Public function getMD(index: int): punaSDPMediaDescription;
Public function getMDCount(): int;
Public procedure applyPayload(const payload: aString); overload;
Public procedure applyPayload(response: unaHTTPparser); overload;
Public procedure BeforeDestruction(); override;
Protected procedure doCleanup(); override;

Properties

Public property a: string read f_a;
Public property b: string read f_b;
Public property c: punaSDPConnectionInfo read getCI;
Public property e: string read f_e;
Public property i: string read f_i;
Public property k: string read f_k;
Public property o: punaSDPSessionInfo read f_o;
Public property p: string read f_p;
Public property s: string read f_s;
Public property t: string read f_t;
Public property u: string read f_u;
Public property v: int read f_v;
Public property z: string read f_z;

Description

Methods

Public constructor create(response: unaHTTPparser = nil);

Creates SDP parser.

Parameters
response
Optional HTTP/RTSP response with SDP payload received from remote side.
Public function getMD(index: int): punaSDPMediaDescription;

Returns media description by index.

Public function getMDCount(): int;

Returns number of media descriptions.

Public procedure applyPayload(const payload: aString); overload;

Assigns SDP data from a sting.

Public procedure applyPayload(response: unaHTTPparser); overload;

Assigns SDP data from a HTTP/RTSP response with SDP payload received from remote side.

Public procedure BeforeDestruction(); override;
 
Protected procedure doCleanup(); override;
 

Properties

Public property a: string read f_a;

global session attributes

Public property b: string read f_b;

zero or more bandwidth information lines

Public property c: punaSDPConnectionInfo read getCI;

connection information – not required if included in all media

Public property e: string read f_e;

email address

Public property i: string read f_i;

session information

Public property k: string read f_k;

encryption key

Public property o: punaSDPSessionInfo read f_o;

originator and session identifier

Public property p: string read f_p;

phone number

Public property s: string read f_s;

session name

Public property t: string read f_t;

One or more time descriptions (time the session is active)

Public property u: string read f_u;

URI of description

Public property v: int read f_v;

protocol version

Public property z: string read f_z;

time zone adjustments

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09