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

Changes audio rendering to WaveSurfer rendering #15

Closed
wants to merge 1 commit into from
Closed

Changes audio rendering to WaveSurfer rendering #15

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 3, 2016

This PR addresses issue https://github.com/feross/instant.io/issues/73. It will attempt to render any audio extensions that are not considered MediaSource compatible (like mp3).

I've tested this out on the latest chromium and iceweasel using instant.io, I don't have a saucelabs account (kinda pricey) so I was unable to run cross browser tests.

2016-04-02-220638_1090x797_scrot

It will fallback to a normal audio element in browsers that don't support Web Audio/Canvas API.
EDIT: I should probably mention the extra library added is about 30kb (estimate)

@feross
Copy link
Owner

feross commented May 2, 2016

This is super cool, but we can't ship it in render-media since it adds too much size to the file. The whole webtorrent library is ~70kb, and it includes render-media. We can't afford to make it 30kb larger.

Could you re-send this as a PR to Instant.io?

@feross feross closed this May 2, 2016
@feross
Copy link
Owner

feross commented May 2, 2016

Also, I realize that I might have said otherwise before. But I wasn't aware it was 30kb. Sorry about changing my mind.

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.

None yet

1 participant