What problem does it solve?
It solves the challenge of integrating and operating VisioForge Media Blocks SDK in a native .NET for Android app, where the pipeline-based model, runtime permissions, and packaging/licensing pitfalls can block camera preview, recording, or deployment.
Core Features & Use Cases
- Graph-based pipeline setup on Android: assemble sources, encoders, sinks, and renderers by connecting media block pads and starting the pipeline.
- Camera preview and recording topologies: support both preview-only graphs and recording graphs using tee + encoder + MP4 muxing.
- Runtime permission gating: reliably request CAMERA and RECORD_AUDIO at runtime and defer pipeline construction until grants succeed.
- Live camera switching (with fallback): attempt
_videoSource.SwitchCamera(...) and fall back to a full pipeline restart when formats/fps don’t match.
- Licensing and deployment troubleshooting: register purchased licenses, pin NuGet versions, and handle common Android/AAB failures like missing ABI native libs or MediaCodec availability issues.
Quick Start
Use the media-blocks-sdk-net-android skill to integrate Media Blocks into a net10.0-android app by creating a MediaBlocksPipeline, wiring SystemVideoSourceBlock to a VideoRendererBlock using VideoViewGL, requesting CAMERA/RECORD_AUDIO at runtime, and starting the pipeline after both permissions are granted.