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

State management for underlying AudioContext object #31

Merged
merged 1 commit into from
Jan 22, 2018
Merged

State management for underlying AudioContext object #31

merged 1 commit into from
Jan 22, 2018

Conversation

thehunmonkgroup
Copy link
Contributor

This allows the AudioContext object created by hark to be managed
by a user of the library. In particular, useful for iOS WebRTC scenarios
where the AudioContext stream must be started by a user action.

See https://bugs.webkit.org/show_bug.cgi?id=177292 for more info. Hopefully they'll remove this silly restriction for the WebRTC case in the future, but for now, it will make hark work for iOS.

Not sure if the API is what you want, let me know if you'd like it structured differently -- I just went with what the person in that thread gave me as a starting point.

This allows the AudioContext object created by hark to be managed
by a user of the library. In particular, useful for iOS WebRTC scenarios
where the AudioContext stream must be started by a user action.
@xdumaine xdumaine merged commit 36e2a5f into otalk:master Jan 22, 2018
@xdumaine
Copy link
Contributor

@latentflip I rebuilt and pushed v1.2.0 but I do not appear to have publish rights on npm for this module. Could you publish the latest and/or add me as an npm contributor, please?

@latentflip
Copy link
Contributor

@xdumaine I've added you to npm 👍

@fippo fippo mentioned this pull request Mar 15, 2018
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

3 participants