if you are using Pixel Streaming Infrastructure provided by UE then you need to modify the PlayerConnections implementations of connect and disconnect methods to start/kill pixs processes or change Video settings on the UE instance e.g. from High to Low (you can always make a new setting preset with bare minimum settings).