Stream loading states


If you wish to know more about the stream loading state, or even build your own loading UI, you can watch for MessageChannel event payloads with type == "stream-loading-state". Each will contain a value field with one of the following values:

Note: Percentage is provided to help indicate how far through the loading process each state is

  • ready - Pixel stream player is ready - 100%
  • webrtc-connected - WebRTC is connected to the Unreal Engine game client - 90%
  • webrtc-connecting - WebRTC is connecting to the Unreal Engine game client - 75%
  • unreal-client-started - Unreal Engine game client has started - 50%
  • waiting-for-compute - Waiting for a compute node on which to run the Unreal Engine game client - 25%

Example payload

  "type": "stream-loading-state",
  "value": "ready"