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

Remove RTC prefix from library types #408

Closed
maxhawkins opened this issue Feb 15, 2019 · 0 comments
Closed

Remove RTC prefix from library types #408

maxhawkins opened this issue Feb 15, 2019 · 0 comments
Assignees

Comments

@maxhawkins
Copy link
Contributor

Example:

webrtc.RTCTrack -> webrtc.Track
webrtc.RTCPeerConnection -> webrtc.PeerConnection
  • Reduces studdering: webrtc.RTCTrack -> webrtc.Track
  • Makes it easier to find types by editor autocomplete
  • Makes code read more fluently (less repetition)
maxhawkins added a commit that referenced this issue Feb 15, 2019
* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)

Since we're breaking the API in 2.0, our only chance to
do this is now!

Relates to #408
maxhawkins added a commit that referenced this issue Feb 15, 2019
Let's pull off the bandaid!

* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)

Since we're breaking the API in 2.0, our only chance to
do this is now.

Relates to #408
maxhawkins added a commit that referenced this issue Feb 15, 2019
@Sean-Der Sean-Der added this to the 2.0.0 (Spear of Destiny) milestone Feb 17, 2019
maxhawkins added a commit that referenced this issue Feb 17, 2019
Let's pull off the bandaid!

* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)

Since we're breaking the API in 2.0, our only chance to
do this is now.

Relates to #408
maxhawkins added a commit that referenced this issue Feb 17, 2019
maxhawkins added a commit that referenced this issue Feb 17, 2019
Also reformat unit test to add test names so it's easier to track
individual test cases in the table-driven test.

Increases test coverage in peerconnection.go. Enough for us to merge?

Relates to #408
maxhawkins added a commit that referenced this issue Feb 18, 2019
Let's pull off the bandaid!

* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)

Since we're breaking the API in 2.0, our only chance to
do this is now.

Relates to #408
maxhawkins added a commit that referenced this issue Feb 18, 2019
maxhawkins added a commit that referenced this issue Feb 18, 2019
Also reformat unit test to add test names so it's easier to track
individual test cases in the table-driven test.

Increases test coverage in peerconnection.go. Enough for us to merge?

Relates to #408
Antonito pushed a commit to Antonito/webrtc that referenced this issue Feb 26, 2019
Let's pull off the bandaid!

* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)

Since we're breaking the API in 2.0, our only chance to
do this is now.

Relates to pion#408
Antonito pushed a commit to Antonito/webrtc that referenced this issue Feb 26, 2019
Antonito pushed a commit to Antonito/webrtc that referenced this issue Feb 26, 2019
Also reformat unit test to add test names so it's easier to track
individual test cases in the table-driven test.

Increases test coverage in peerconnection.go. Enough for us to merge?

Relates to pion#408
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants