-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 React Native createObjectURL polyfill incompatibility #1845
Fix React Native createObjectURL polyfill incompatibility #1845
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
I signed the CLA. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Test Failure:
|
@nitro404, can you please fix the linter errors? You can check this for yourself by running |
Should be fixed! I'm unfortunately not able to run "test.py" on my current environment, the script fails with an error, likely because I have Python 3 installed. |
Ah, yeah, those scripts currently require python2. If you have that, you can run But I'll run it through the build bot again. |
Test Failure:
|
For variables you reassign, use |
React Native introduces its own polyfill for window.URL.createObjectURL which is not compatible with Shaka. Encapsulating a reference to the original function inside of the MediaSourceEngine circumvents this issue. Issue #1842
Ahh, sorry! I've adjusted my environment and fixed all outstanding issues. Updated the function description and re-based onto master as well. Let me know if any other changes are needed, thank you! |
Thanks! I've requested another test run through our build bot. |
All tests passed! |
Thank you for your contribution! |
…ect#1845) React Native introduces its own polyfill for window.URL.createObjectURL which is not compatible with Shaka. Encapsulating a reference to the original function inside of the MediaSourceEngine circumvents this issue. Closes shaka-project#1842
…ect#1845) React Native introduces its own polyfill for window.URL.createObjectURL which is not compatible with Shaka. Encapsulating a reference to the original function inside of the MediaSourceEngine circumvents this issue. Closes shaka-project#1842
…ect#1845) React Native introduces its own polyfill for window.URL.createObjectURL which is not compatible with Shaka. Encapsulating a reference to the original function inside of the MediaSourceEngine circumvents this issue. Closes shaka-project#1842
…ect#1845) React Native introduces its own polyfill for window.URL.createObjectURL which is not compatible with Shaka. Encapsulating a reference to the original function inside of the MediaSourceEngine circumvents this issue. Closes shaka-project#1842
React Native introduces its own polyfill for window.URL.createObjectURL which is not compatible with Shaka. Encapsulating a reference to the original function inside of the MediaSourceEngine circumvents this issue.
Issue #1842