Hi David!
Basically, you need to route the Pixhawk serial data to UDP in the companion, and use Pymavlink library to decode mavlink data. Example below:
OBS Studio has a support for Python scripting, through obspython module, check out the documentation : Python/Lua Scripting — OBS Studio 30.0.0 documentation
And also the video must be streamed to a different port: Get video in Videolan - #16 by patrickelectric and Get video in Videolan - #29 by VMartini
Hope that helps!
— VMartini