Photon Voice
v2.7
|
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
|
get |
If not null, the object is in invalid state.
|
getset |
Set callback encoder calls on each encoded data frame (if such output supported).