Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Examples

Every guide in this book is paired with runnable examples in the repository. The Rust workspace holds the canonical set under examples/, and the bindings directories mirror them for each supported host language:

LanguageInterop pathExamples
RustNative cratesexamples/
CDirect C ABI (mediaway-ffi)bindings/c/examples/
C++Thin RAII C ABIbindings/cpp/examples/
C#P/Invokebindings/csharp/examples/
Pythonctypes / cffibindings/python/examples/
Node.jsNative Addon / N-API (koffi FFI today)bindings/nodejs/examples/
BrowserWASM + WebCodecs (no C FFI)bindings/browser/examples/

Examples are grouped by capability, mirroring the guides:

  • container/ — mux + demux only (no codec, no capture)
  • encode/ / decode/ — one codec direction, no container
  • device/ — one capture source, no encode
  • pipeline/ — composed end-to-end flows (capture → encode → mux, or decode → trim → re-encode)

The language pages below list each language’s example files and how to run them.