Photon Voice  v2.8
English | 日本語 | 한국
Public Member Functions | Properties | List of all members
IEncoder Interface Reference

Generic encoder interface. More...

Inherits IDisposable.

Inherited by IEncoderDirect< B >.

Public Member Functions

ArraySegment< byte > DequeueOutput ()
 Returns next encoded data frame (if such output supported). More...
 

Properties

string Error [get]
 If not null, the object is in invalid state. More...
 
Action< ArraySegment< byte > > Output [get, set]
 Set callback encoder calls on each encoded data frame (if such output supported). More...
 

Detailed Description

Generic encoder interface.

Depending on implementation, encoder should either call Output on eaach data frame or return next data frame in DequeueOutput() call.

Member Function Documentation

ArraySegment<byte> DequeueOutput ( )

Returns next encoded data frame (if such output supported).

Property Documentation

string Error
get

If not null, the object is in invalid state.

Action<ArraySegment<byte> > Output
getset

Set callback encoder calls on each encoded data frame (if such output supported).