Represents a command to stop the pixel streaming session.
This class sends a message to the Metabox API to stop the active stream and release its resources.
What does it unlock?
Stops the Unreal Engine pixel streaming connection, terminating the active session and freeing server-side resources.
Practical Application
Used to explicitly end the 3D streaming session — e.g., when the user closes a modal, navigates away, or a
custom "Stop"/"Disconnect" button is pressed. Pair with ResumeStream to restart the session later
without a full page reload.
AI Coding Best Practices
Call api.sendCommandToMetabox(new StopStream()). No parameters. Stops the existing streaming session —
does not reset product/environment state. Use ResumeStream to reconnect afterwards.
Represents a command to stop the pixel streaming session. This class sends a message to the Metabox API to stop the active stream and release its resources.
What does it unlock?
Stops the Unreal Engine pixel streaming connection, terminating the active session and freeing server-side resources.
Practical Application
Used to explicitly end the 3D streaming session — e.g., when the user closes a modal, navigates away, or a custom "Stop"/"Disconnect" button is pressed. Pair with ResumeStream to restart the session later without a full page reload.
AI Coding Best Practices
Call
api.sendCommandToMetabox(new StopStream()). No parameters. Stops the existing streaming session — does not reset product/environment state. UseResumeStreamto reconnect afterwards.Example