This page explains how the SDK handles stream audio playback and how to forward the user’s microphone and camera to Unreal Engine.Documentation Index
Fetch the complete documentation index at: https://docs.streampixel.io/llms.txt
Use this file to discover all available pages before exploring further.
Stream audio playback
The SDK creates two separate media elements for the stream:- A video element for the video feed
- A separate audio element for the audio feed
Toggling audio with UIControl
The simplest way to toggle stream audio:Manual audio control
For more control, access both elements directly:Browser autoplay policy
Browsers require a user gesture before playing audio. The SDK starts with video muted (StartVideoMuted: true) and audio auto-playing silently. You should unmute in response to a user action (e.g., clicking an “Unmute” button).
Microphone input to UE
Send the user’s microphone audio to the Unreal Engine application.Configuration
Enabling at runtime
Camera input to UE
Send the user’s webcam feed to the Unreal Engine application.Configuration
Enabling at runtime
Both microphone and camera require the user to grant browser permissions. Always wrap
getUserMedia calls in try/catch to handle denied permissions gracefully.Next steps
Input controls
Configure mouse, keyboard, touch, gamepad, and WebXR forwarding.
Video, codecs, and resolution
Tune codec selection, resolution presets, and bitrate.