UMediaCapture::SetMediaOutput

Set the media output. Can only be set when the capture is stopped.