Skip to main content

Unity Support and AI Console Blueprint

This is a product blueprint, not a copy/paste tutorial. Start with the Unity Complete Starter for the human room, then add your application's support and AI services. Use com.mediasfu.unity@0.1.0-preview.2, MediaSfuClient, and the Unity media backend for a scene-owned human support conversation. The public client supplies room state, participant events, media connection, local/remote track actions, screen sharing, leave, and host end.

Your scene owns case UI and human-agent controls. An authenticated backend authorizes customer/agent room entry and protects credentials; bind confirmed room events as described in Unity room operations.

Do not store Cloud credentials, AI keys, or support tokens in project assets, source, logs, or player preferences. Restricted local values are only for isolated development; release needs backend authorization.

Build and validate

  • Verify customer and human-agent join, media/track playback, recovery, leave, and cleanup on target hardware.
  • Preserve a human-only fallback when a companion support service fails.
  • On scene close, unsubscribe handlers, stop temporary media and case timers, leave/dispose, and clear in-memory case state.

The preview Unity package does not publish an AI-agent lifecycle, model or data-buffer routing, pause/stop contract, transcript retention, or consent policy. Implement these services in your backend.