Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Rename webrtc-w3c to webrtc and webrtc to webrtc-direct #152

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Mar 14, 2023

Summary

Following on from #150 and a replacement for #151

Renames:

  • /webrtc-w3c -> /webrtc - AKA browser to browser
  • /webrtc -> /webrtc-direct - AKA browser to server

Discussion:

  • This option was mentioned in feat: add webrtc-w3c protocol #150 and seemed to have a reasonable amount of support but seemed to get lost amongst the other options
  • The differences in the protocols is mentioned in the table comments

Before Merge

Following on from #150 and an replacement for #151

Renames:

- `/webrtc-w3c` -> `/webrtc` - AKA browser to browser
- `/webrtc` -> `/webrtc-direct` - AKA browser to server

Discussion:

- This option was mentioned in #150 and seemed to have a reasonable amount of support but seemed to get lost amongst the other options
- The differences in the protocols is mentioned in the table comments
achingbrain added a commit that referenced this pull request Mar 14, 2023
Following on from #150 and an replacement for #151

Renames:

- `/webrtc-w3c` -> `/webrtc` - AKA browser to browser
- `/webrtc` -> `/webrtc+sdp-munging` - AKA browser to server

Discussion:

- This option comes from comments on #151
- It got a lukewarm reception on the triage call so it's presented as an option along with #152
- Adding `+sdp-munging` makes it more explicit about the differences, though admittedly there are other differences that aren't encapsulated in the name
- People were uncertain about universal understanding of the term "SDP munging"
Copy link

@melekes melekes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@achingbrain achingbrain merged commit 2ad868a into master Mar 17, 2023
@achingbrain achingbrain deleted the fix/rename-webrtc-protocols branch March 17, 2023 07:01
achingbrain added a commit to multiformats/js-multiaddr that referenced this pull request Mar 17, 2023
We have decided to rename `webrtc` to `webrtc-direct` and `webrtc-w3c` to `webrtc` as these better reflect the protocols being used.

For further discussion please see: multiformats/multiaddr#150

This change landed in multiformats/multiaddr#152

BREAKING CHANGE: webrtc has been renamed webrtc-direct and webrtc-w3c has been renamed webrtc

---------

Co-authored-by: Alex Potsides <alex@achingbrain.net>
achingbrain pushed a commit to multiformats/js-mafmt that referenced this pull request Mar 20, 2023
Rename webrtc protocol from webrtc to webrtc-direct based on multiformats/multiaddr#152 .

BREAKING CHANGE: the existing WebRTCDirect multicodec name has been deprecated and renamed P2PWebRTCDirect. The new WebRTCDirect codec has been added but is not the same, please check your code before upgrading!  Integer codes are unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants