Skip to content

Kill refreshing of signaling settings? #6778

@nickvergessen

Description

@nickvergessen

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Change from one room to another
  2. Have the network tab open
  3. See a request to GET /ocs/v2.php/apps/spreed/api/v3/signaling/settings?token=TOKEN

In case internal signaling is used or if external signaling is used with only 1 HPB configured, the request will always return the same signaling server, so we will always NOT hit:

if (signaling && signaling.settings.server !== settings.server) {
if (webRtc) {
webRtc.disconnect()
webRtc = null
}
signaling.disconnect()
signaling = null
tokensInSignaling = {}
}
if (!signaling) {
signaling = Signaling.createConnection(settings)
}

So the signaling settings are always the same and unless you join the call it is not needed.
Only when you join the call a refresh of the TURN details would make sense to ensure that your TURN ticket is new enough, ref #6323

But since that ticket is still open we could also have a look at that after this change.

Thoughts? @fancycode @danxuliu

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions