Move `StreamConfig` out of `runconfig` Upstream-commit: 65835bfaa6d44b2255ed25eab74ebcdc8b3ba491 Component: engine