Photon Voice: IEncoder Interface Reference

Photon Voice

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).

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH