Comments (2)
Yes! I had actually wanted to do something very similar, though maybe not quite as grand as using WebRTC - awesome idea!
My plan was roughly split into a few stages (based purely on my use cases):
- REST-like API for remote-controlling the full player UI (done).
- Remote control UI to control playback and show current/next track details (simple enough to be used on a phone).
- "Headless" player which you could push the current track and play/pause/skip etc (i.e. running on a Raspberry Pi which would be plugged into an ADC+Amplifier), could be HTML5+Websocket setup or other process listening on a TCP socket...
- Several "headless" players on a network which would be synchronised (so that you could have the same music playing on different machines at the same time).
What you are asking for seems like a combination of 2, 3 and 4!
Based on what was implemented for 1 (backend sending control commands down the Websocket to the UI), it should be pretty straightforward to get 2 and 3 working for what you want.
from tchaik.
The last few commits have added much of this functionality (b8e8a67...e4436cc), though it isn't quite all hooked up yet! Still need to add a front-end UI for setting up command "pushing" from the front-end.
There is currently a simple interface for setting up the front-end player key. I think it would be a good idea to make this into a more general pane including the ability to enter a player key which will be used to "publish" control events down the websocket.
It should also be possible to "un hook" the front-end player from the front-end controls (for the situation where you just want the remote player to be used).
from tchaik.
Related Issues (20)
- Now Playing song info not updated after playing song with missing info HOT 1
- Take design elements from Google Music
- Mouse pointer not hand on hover.
- Albums in the Collection should show the Artist rather than AlbumArtist if AlbumArtist isn't set, but the Artist field is the same HOT 1
- Implement ratings for tracks/albums
- Implement play history
- Documentation for the REST API
- Multiple users support HOT 1
- Implement gapless playback using HTML5 audio components
- Windows and http.Filesystem issues HOT 11
- Playlist cursor does not advance more than once when playing through
- cloudstorage api change? HOT 3
- Gulp exceeds call stack max in cmd/ui HOT 4
- Chromecast Audio? HOT 1
- Not working on new installation HOT 3
- update Google Cloud API client import paths and more HOT 1
- Errors, play buttons don't work, websocket connections drops HOT 5
- Better youtube-dl HOT 2
- Track Description & Timestamps
- Transcoding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tchaik.