Skip to content

Conversation

@danxuliu
Copy link
Member

Little cleanup of the legacy SimpleWebRTC code.

danxuliu added 3 commits May 28, 2021 19:23
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Neither "webrtcSupport.prefix === 'moz'", "pcConfig.iceTransports" or
"candidate.candidate.candidate" were ever set, so the check always
failed.

Moreover, currently candidates are restricted based on the transport
only to test the TURN server. This is done through the
"iceTransportRelay" parameter and is handled by the browser itself, so
there is no need to fix the code, it can be simply removed.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
The WebUI no longer uses the "prefix" parameter, and it was never used
by the mobile apps.

The Android app declares the field in its NCSignalingMessage parcelable
object, but if a received message does not contain the field it will
be just set to an empty value.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu added 2. developing feature: WebRTC 🚡 WebRTC connection between browsers and/or mobile clients feature: frontend 🖌️ "Web UI" client feature: call 📹 Voice and video calls labels May 28, 2021
@nickvergessen
Copy link
Member

Is this from dropping old FF versions?

@danxuliu
Copy link
Member Author

danxuliu commented Jun 1, 2021

No, it is unrelated; the code was already dead when old Firefox versions were dropped.

@nickvergessen nickvergessen added this to the 💖 Next Major (22) milestone Jun 1, 2021
@danxuliu danxuliu marked this pull request as ready for review June 1, 2021 18:47
@nickvergessen nickvergessen merged commit 168c67d into master Jun 1, 2021
@nickvergessen nickvergessen deleted the remove-unneeded-webrtc-code branch June 1, 2021 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review feature: call 📹 Voice and video calls feature: frontend 🖌️ "Web UI" client feature: WebRTC 🚡 WebRTC connection between browsers and/or mobile clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants