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

help wanted: playing a file into main thread in electron #959

Closed
rafaelleru opened this issue Oct 23, 2016 · 2 comments
Closed

help wanted: playing a file into main thread in electron #959

rafaelleru opened this issue Oct 23, 2016 · 2 comments

Comments

@rafaelleru
Copy link

@rafaelleru rafaelleru commented Oct 23, 2016

I'm working with webtorrent on electron, after read the docs of how works electron I discovered that the play of file should works in main thread, beacuse if it runs in a html it will be asiciated with a renderer activity, and in change of renderer the play will be interrupted, but in API I can't find a way of do this. So my question is what method I should use to play a file in main thread?

Thanks for any response.

@feross

@rafaelleru

This comment has been minimized.

Copy link
Author

@rafaelleru rafaelleru commented Nov 5, 2016

Creating a readStream and sending via ipc any new data looks goog option but see https://github.com/feross/webtorrent/issues/971

@rafaelleru rafaelleru closed this Nov 5, 2016
@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.