-
Notifications
You must be signed in to change notification settings - Fork 508
Open
Labels
1. to developbugfeature: signaling 📶Internal and external signaling backendsInternal and external signaling backendsmediumperformance 🚀technical debt
Milestone
Description
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
- Change from one room to another
- Have the network tab open
- 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:
spreed/src/utils/webrtc/index.js
Lines 91 to 104 in b753868
| 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
Labels
1. to developbugfeature: signaling 📶Internal and external signaling backendsInternal and external signaling backendsmediumperformance 🚀technical debt