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

Chat only mode (new feature suggestion) #90

Open
zkent opened this issue Dec 16, 2013 · 8 comments
Open

Chat only mode (new feature suggestion) #90

zkent opened this issue Dec 16, 2013 · 8 comments

Comments

@zkent
Copy link

zkent commented Dec 16, 2013

Often I want to keep chat open and turn off music or play something different. But muting and hiding video don't save any system resources (CPU over 50% on my old system). It would be nice if there were a chat only mode where no video or audio is involved.

@martindale
Copy link
Member

I like this idea! +1.

We should open at least one other issue to resolve the CPU problem though; video.js is likely not falling back to native support for YouTube on that system. Maybe @eXon could help here.

On the other hand, will the introduction of custom rooms (#79) help in this regard?

@eXon
Copy link

eXon commented Dec 16, 2013

With some jQuery, you can remove the player tag if you don't want it and add it back when needed. You will need to setup video.js with Javascript though.

@martindale
Copy link
Member

@zkent I've implemented /stream off and /stream on, does this lower CPU usage?

Though, I'm not sure why CPU usage would be so high, as we're only allowing the HTML5 player now.

@zkent
Copy link
Author

zkent commented Jun 12, 2014

@martindale It doesn't seem to help much if at all. There are times when I have been running my computer for a while that I can't even run s.io b/c it basically maxes out my CPU. Rebooting helps reduce it to 20% CPU or so.

@martindale
Copy link
Member

Try soundtrack.player.dispose() next time, let's see if it's related to the player or something else.

@zbeekman
Copy link
Contributor

zbeekman commented Feb 5, 2015

It seems like this thread might profit from being renamed, as this issue is more about resource usage, than “chat only” since /stream off as well as muting and making the chat window bigger accomplish the goal of ‘chat only’ just my $0.02

@zkent
Copy link
Author

zkent commented Feb 6, 2015

I agree. I can't even run the site on my currently PC anymore if I am
working. My biggest issue here is CPU usage.

On Thu, Feb 5, 2015 at 9:59 AM, Izaak Beekman [email protected]
wrote:

It seems like this thread might profit from being renamed, as this issue
is more about resource usage, than “chat only” since /stream off as well
as muting and making the chat window bigger accomplish the goal of ‘chat
only’ just my $0.02


Reply to this email directly or view it on GitHub
https://github.com/martindale/soundtrack.io/issues/90#issuecomment-73059693
.

Zachary Kent
Web Solutions Architect
View my LinkedIn profile http://www.linkedin.com/in/zacharykent

@martindale
Copy link
Member

Let's figure out how to tackle the CPU use problem; the API exists for anyone to develop a chat-only mode, but it won't be a priority for me for a while. Feel free to submit a pull request that enables it, though!

I've opened #137 to handle issues / proposals for solving the CPU issue.

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

No branches or pull requests

4 participants