Then you’d probably use local record to get the videos
Then upload those to YouTube via the YouTube API instead.
Or whenever you end a stream, got to your vods and tell it to export.
Then it’s jsut part of your “end of stream tasklist”.
For anything else you’ll need a feature request for “controlling the export process”