Use the class
unreal.PixelStreaming2StreamerComponent
Check the api documentation
https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/