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 "stopped" from close(), insertDTMF and replaceTrack #940

Merged
merged 2 commits into from
Dec 1, 2016

Conversation

aboba
Copy link
Contributor

@aboba aboba commented Nov 11, 2016

Depends on Taylor's "currentDirection" PR (do not merge)
Fix for Issue #917

@aboba
Copy link
Contributor Author

aboba commented Nov 11, 2016

@taylor-b Can you review?

@aboba aboba changed the title Use of "stopped" in insertDTMF and replaceTrack Remove "stopped" from insertDTMF and replaceTrack Nov 11, 2016
Copy link
Contributor

@taylor-b taylor-b left a comment

Choose a reason for hiding this comment

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

Just one comment, otherwise this looks correct.

<code><a>CollectTransceivers</a></code> algorithm. For every
<code><a>RTCRtpTransceiver</a></code> <var>transceiver</var> in
<var>transceivers</var>, set
<code><var>transceiver</var>.stopped</code> to
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably point to the RTCRtpTransceiver.stop method, and not just set the attribute directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right. Among other things, that would make sure that transceiver.receiver.track.readyState gets set.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I inserted steps from the stop() method.

Add steps to close each transceiver
@aboba aboba changed the title Remove "stopped" from insertDTMF and replaceTrack Remove "stopped" from close(), insertDTMF and replaceTrack Nov 25, 2016
@alvestrand alvestrand merged commit 05d45c7 into master Dec 1, 2016
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.

3 participants