> Please add an opt-in audio streaming API for Bedrock Dedicated Server scripting. > > Current APIs can only play sound IDs already packaged in a resource pack. Scripts > can connect to external services through WebSocket, but they cannot deliver > generated audio to players. This prevents real-time local TTS, AI NPC voices, > accessibility narration, live radio, and dynamic voice events. > > Proposed capability: allow a server script to send a limited, server-to-client > audio stream to selected players, preferably Opus mono audio with strict bitrate, > duration, concurrency, and payload limits. It should be disabled by default and > require explicit server and player opt-in. > > A possible high-level API could be player.playAudioStream(...) or an AudioStream > object that accepts small encoded chunks, supports volume, spatial position, stop, > and interruption.
Please sign in to leave a comment.
1 Comments