+ async function waitUntilLivePublishedOnAllServers (videoId: string) {
+ for (const server of servers) {
+ await server.liveCommand.waitUntilPublished({ videoId })
+ }
+ }
+
+ async function waitUntilLiveSavedOnAllServers (videoId: string) {
+ for (const server of servers) {
+ await server.liveCommand.waitUntilSaved({ videoId })
+ }
+ }
+