Description
In the current version of the matrix-js-sdk the VOIP demo code can't establish a call between two room members.
(https://github.com/matrix-org/matrix-js-sdk/tree/develop/examples/voip)
The incoming call is recognized and even the call answering event is handled correctly, but the remote streams are not connected successfully.
Steps to reproduce the behavior:
- Checkout the voip demo code: https://github.com/matrix-org/matrix-js-sdk/tree/develop/examples/voip
- Setup two demo accounts on matrix.org
- Connect them and chat on the same, unencrypted room
- Add the credentials and the room-id to the demo code
- Start a demo web server providing this code
- Use two clients (different browsers, different clients on the same network..)
- Open the web demo on both using the two different users
- Call the other member using the provided buttons
Expected behavior
The call is displayed on the receiver side and even the answering works. Both clients are now in an active call state, but the streams are never connected.
Tested on an iPad using Firefox and Safari, on a Samsung Galaxy S21 Ultra using Chrome and Firefox, on a Macbook Pro 2020 using Safari, Chrome and Firefox
Additional context
We started downgrading the library step by step to see, if this issue came up recently.
Tested versions that don't work:
- 15.3.0
- 15.0.0
- 14.0.1
- 12.5.0
- 12.3.0
- 12.3.0-rc1
- 9.8.0
Tested version that do work:
- 11.0.0
- 12.0.0
- 12.2.0
The connection issue appeared in version 12.3.0-rc1. Version 12.2.0 is the last (released) working version.
Edit: Tested versions added