To turn on game streaming on your Xbox One console:
On your Xbox One, press the Xbox button to open the guide, and then select Profile & system (your account icon) > Settings . Choose Devices & streaming > Device connections > Allow game streaming to other devices.
Then, under Xbox app, select Allow connections from any device to allow anyone who's connected to your home network to stream games and TV. To limit streaming to only a few people, select Only from profiles signed in on this Xbox.