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

Chrome: fix addTrack, removeTrack #917

Merged
merged 1 commit into from
Dec 10, 2018
Merged

Conversation

Krivega
Copy link
Contributor

@Krivega Krivega commented Dec 10, 2018

Description
chrome_shim.js:490 Uncaught TypeError: Cannot read property 'shimAddTrackRemoveTrackWithNative' of undefined

Purpose
Fix it

@dagingaa dagingaa closed this Dec 10, 2018
@dagingaa dagingaa reopened this Dec 10, 2018
@dagingaa
Copy link
Collaborator

Pushed the wrong button :(

Copy link
Collaborator

@dagingaa dagingaa left a comment

Choose a reason for hiding this comment

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

Thank you for this! this here is confusing, but wasn't caught by us since webpack does some magic object-tricks with export currently.

@fippo
Copy link
Member

fippo commented Dec 10, 2018

out of curiosity, where/how did this happen? Surprised this wasn't caught earlier.

regression in 7.0.0, I don't think its important enough to backport from 7.1.0 but we could for the sake of Dag-Inge training :-)

@dagingaa dagingaa merged commit 31da7e9 into webrtcHacks:master Dec 10, 2018
@Krivega
Copy link
Contributor Author

Krivega commented Dec 10, 2018

@fippo just rebuilt my project (CRA) and checked on the latest version of chrome (71.0.3578.80). And indeed, there was no such problem before; apparently, the condition if (window.RTCPeerConnection.prototype.addTrack had not passed in chrome before.

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