Description | Hierarchy | Fields | Methods | Properties |
type una_openH323plugin = class(unaAbstractEncoder)
Codec based on OpenH323 plugin model. http://openh323.sourceforge.net/
constructor create(const dllPathAndName: wString; priority: integer = THREAD_PRIORITY_NORMAL); |
|
function getVersion(): int; |
|
function isEncoder(index: int = -1): bool; |
|
function selectCodec(index: int): UNA_ENCODER_ERR; |
|
function doClose(): UNA_ENCODER_ERR; override; |
|
function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override; |
|
function doOpen(): UNA_ENCODER_ERR; override; |
|
function doSetConfig(config: pointer): UNA_ENCODER_ERR; override; |
|
function loadDLL(): int; virtual; |
|
function unloadDLL(): int; virtual; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
property codecDef[index:int]: ppluginCodec_definition read getCodecDef; |
|
property codecDefCount: uint32 read f_codecDefCnt; |
|
property codecIndex: int read f_codecIndex write setCodecIndex; |
constructor create(const dllPathAndName: wString; priority: integer = THREAD_PRIORITY_NORMAL); |
|
Creates plugin codec class |
function getVersion(): int; |
|
Returns version of loaded plugin |
function isEncoder(index: int = -1): bool; |
|
function selectCodec(index: int): UNA_ENCODER_ERR; |
|
function doClose(): UNA_ENCODER_ERR; override; |
|
Closes plugin codec |
function doEncode(data: pointer; nBytes: unsigned; out bytesUsed: unsigned): UNA_ENCODER_ERR; override; |
|
Encodes a chunk of data. |
function doOpen(): UNA_ENCODER_ERR; override; |
|
Opens plugin codec |
function doSetConfig(config: pointer): UNA_ENCODER_ERR; override; |
|
Configures plugin codec |
function loadDLL(): int; virtual; |
|
Loads plugin DLL into process memory. |
function unloadDLL(): int; virtual; |
|
Unloads plugin DLL from process memory. |
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
property codecDef[index:int]: ppluginCodec_definition read getCodecDef; |
|
property codecDefCount: uint32 read f_codecDefCnt; |
|
property codecIndex: int read f_codecIndex write setCodecIndex; |
|
(c) 2012 Lake of Soft