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

Make it clear that track IDs don't match on send and receive side #2029

Merged
merged 2 commits into from
Nov 8, 2018
Merged

Make it clear that track IDs don't match on send and receive side #2029

merged 2 commits into from
Nov 8, 2018

Conversation

henbos
Copy link
Contributor

@henbos henbos commented Nov 8, 2018

Fixes #2005


Preview | Diff

Copy link
Member

@jan-ivar jan-ivar left a comment

Choose a reason for hiding this comment

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

LGTM, just a few nits.

webrtc.html Outdated
<code><a>RTCRtpReceiver</a></code> will only have a single track,
potentially representing multiple sources of media stiched together. Thus
it's more accurate to think of a 1:1 relationship between an
potentially representing multiple sources of media stiched together. Both
Copy link
Member

Choose a reason for hiding this comment

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

stitched

<code><a data-link-for="RTCPeerConnection">addTransceiver</a></code> and
<code><a data-link-for="RTCRtpSender">replaceTrack</a></code> can be used to
cause the same track to be sent multiple times, which will be observed on
the receiver side as multiple receivers each with its own separate track.
Copy link
Member

Choose a reason for hiding this comment

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

s/can be/may be/ and s/will be/may be/ ?

This sentence seems a bit confusing when I read it. We should be careful not to give the mistaken impression that replaceTrack by itself somehow creates multiple receivers, which is true only for addTransceiver.

Even better, maybe remove replaceTrack from this sentence and explain it separately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Test Needs a WPT test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants