From ffeef0f7c2590d6f9a010c6a176f4d6c32a4b348 Mon Sep 17 00:00:00 2001 From: Micheline Wu <69046953+michelinewu@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:50:07 -0400 Subject: [PATCH] Add dual output to stream data. (#5140) --- app/services/streaming/streaming.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/services/streaming/streaming.ts b/app/services/streaming/streaming.ts index 5fe691d95efb..5ad0d5779fd3 100644 --- a/app/services/streaming/streaming.ts +++ b/app/services/streaming/streaming.ts @@ -1314,6 +1314,7 @@ export class StreamingService eventMetadata.streamType = streamSettings.streamType; eventMetadata.platform = streamSettings.platform; eventMetadata.server = streamSettings.server; + eventMetadata.outputMode = this.views.isDualOutputMode ? 'dual' : 'single'; eventMetadata.platforms = this.views.protectedModeEnabled ? [ ...this.views.enabledPlatforms, @@ -1570,6 +1571,7 @@ export class StreamingService data.viewerCounts = {}; data.duration = Math.round(moment().diff(moment(this.state.streamingStatusTime)) / 1000); data.game = this.views.game; + data.outputMode = this.views.isDualOutputMode ? 'dual' : 'single'; if (this.views.protectedModeEnabled) { data.platforms = this.views.enabledPlatforms;