Hi,
Try off world live, it’s a virtual production unreal toolkit that allows viewport capture, along with other features like streaming, NDI support,etc.
The plugin requires a license for commercial purposes, but is a great plugin overall.
Kind regards.