Photon Voice
v2.58
Generic encoder interface. More...
Inherits IDisposable.
Inherited by IEncoderDirect< B >, and AndroidNDKVideoEncoder.
Public Member Functions | |
| ArraySegment< byte > | DequeueOutput (out FrameFlags flags) |
| Returns next encoded data frame (if such output supported). More... | |
| void | EndOfStream () |
| Forces an encoder to flush and produce frame with EndOfStream flag (in output queue). More... | |
| I | GetPlatformAPI< I > () |
| Returns an platform-specific interface. More... | |
Properties | |
| string | Error [get] |
| If not null, the object is in invalid state. More... | |
| Action< ArraySegment< byte >, FrameFlags > | Output [set] |
| Set callback encoder calls on each encoded data frame (if such output supported). More... | |
Generic encoder interface.
Depending on implementation, encoder should either call Output on eaach data frame or return next data frame in DequeueOutput() call.
| ArraySegment<byte> DequeueOutput | ( | out FrameFlags | flags | ) |
Returns next encoded data frame (if such output supported).
Implemented in AndroidNDKVideoEncoder.
| void EndOfStream | ( | ) |
Forces an encoder to flush and produce frame with EndOfStream flag (in output queue).
Implemented in AndroidNDKVideoEncoder.
| I GetPlatformAPI< I > | ( | ) |
Returns an platform-specific interface.
Implemented in AndroidNDKVideoEncoder.
| I | : | class |
|
get |
If not null, the object is in invalid state.
|
set |
Set callback encoder calls on each encoded data frame (if such output supported).