Skip to content

Commit

Permalink
Add dual output to stream data. (#5140)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelinewu authored Sep 27, 2024
1 parent 6334fb3 commit ffeef0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/streaming/streaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ffeef0f

Please sign in to comment.