Set up your game for streaming
During game initialization, ensure that you’ve set up the game streaming component by usingXGameStreamingInitialize as shown in the following code.
XGameStreamingIsStreaming as shown in the following code.
Manage the connection state
If there are any active streaming clients, your game has a point-in-time understanding of those clients when usingXGameStreamingIsStreaming. To receive notification when a streaming client connects or disconnects from your game, use XGameStreamingRegisterConnectionStateChanged.
