If you want to stream Xbox One games on windows pc due to any reason, then follow the given steps to stream Xbox one games-
STEP-1. Download the Xbox console campaign app and install it on your computer. If you have a windows 10 pc, then you already have an Xbox console campaign app.
STEP-2 Open the app and sign into your Microsoft account.
STEP-3 After sign in, click on menu and then click “connection”
STEP-4 Click on “Add a device”. It will search for the nearest Xbox one IP address. Connect it with your console
STEP-5 If you don’t find your console, you can add it manually by putting your Xbox one IP address. You can find the IP address by clicking on the network, then click on network settings and then click on the advance setting. There you will get your Xbox one IP address
STEP-6 After entering your IP address, connect it. Your PC will get connected to your Xbox One. On your monitor, it will show now playing. Click on it, and you will get a direct feed from your Xbox One.