Skip to content

Commit

Permalink
Save streamViewId in Signaling instance for distribution (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago-Souto authored Jun 14, 2024
1 parent f7c69c2 commit 661f150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/millicast-sdk/src/Signaling.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export default class Signaling extends EventEmitter {
this.transactionManager = null
this.serverId = null
this.clusterId = null
this.streamViewId = null
}

/**
Expand Down Expand Up @@ -214,6 +215,7 @@ export default class Signaling extends EventEmitter {
logger.debug('Command result: ', result)
this.serverId = result.subscriberId
this.clusterId = result.clusterId
this.streamViewId = result.streamViewId

// Save for diagnostics
Diagnostics.initStreamName(this.streamName)
Expand Down

0 comments on commit 661f150

Please sign in to comment.