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: audio and video track changes #5890

Merged
merged 2 commits into from
Mar 25, 2019
Merged

fix: audio and video track changes #5890

merged 2 commits into from
Mar 25, 2019

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Mar 25, 2019

Fixes #5887

trying to find out why the unit tests didn't catch this, 🤔 Tests fixed

@brandonocasey brandonocasey force-pushed the fix/audio-video-tracks branch from 1cf7130 to 52c8cc7 Compare March 25, 2019 15:38
Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

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

Works now

assert.equal(track.enabled, true, 'track is disabled');
assert.equal(track2.enabled, false, 'track2 is disabled');
track2.enabled = true;
assert.equal(track.enabled, false, 'track is disabled');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We did not test to make sure that a track that is not enabled and already added, would be enabled correctly. Same with video tracks

@gkatsev
Copy link
Member

gkatsev commented Mar 25, 2019

Confirmed locally that the test updates fail and with the change they succeed

@gkatsev gkatsev merged commit 3dc6fbf into master Mar 25, 2019
@gkatsev gkatsev deleted the fix/audio-video-tracks branch March 25, 2019 16:02
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.

Audio track selection is broken in v7.5.1 on Chrome/Firefox
2 participants