Comments (5)
My nginx configuration is
location /audioserve/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Host $http_host;
proxy_max_temp_file_size 0;
proxy_pass http://127.0.0.1:3000/;
proxy_redirect http:// https://;
proxy_read_timeout 1200s;
send_timeout 1200s;
}
location /audioserve/position {
proxy_pass http://localhost:3000/position;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 3600s;
}
from audioserve.
And I'm getting different errors
ERROR websock > Socket error Ws
But I think it's kind of legitimate, it happens when websocket gets disconnected.
@Mange - in your case looks like websocket is not established at all so I guess position sharing will not work at all?
from audioserve.
That seems to have made it work. Now the socket is established and Chrome's websocket sniffer shows messages being passed on it.
However, I cannot tell a difference from before. What will it do?
Opening the same directory in a different client does not show the current file, and starting the file won't jump the the position that was paused on the other device. Having both devices open at the same time does not show the position getting synced, either.
What behavior should I expect to tell if this is working or not?
All three devices (Firefox, Chrome, Android app) are using the same Group name.
from audioserve.
first both devices must have same group in their setup.
next play for a while on one device.
On other device - either
a) Click play on opened file (file must be already in progress, paused), if there is newer position from other device is available, then dialog show offering you to got to that position, or continue with current file. If there is no more recent position, playback will just continue.
b) On device - in folder choose to show most recent positions ( icon of triangle with circle arrows, or in Android in 3 dot menu Check remote positions (also in Recently played, most recent remote position can be shown, if newer then local positions).
Playback position on other device must be at least 10 secs from current position to be considered different.
Also this functionality is not about parallel playback on several devices- it's about pausing playback on one device and continue on other device.
As I have written it's experimental, so any feedback on this functionality is welcomed. There is special issue for this #6 . My experience so far is that it somehow works, but is not very reliable.
from audioserve.
Thanks! I didn't get that behavior from what I could tell, but I'll make sure to experiment more later. I'm on my way to the airport for a family vacation, so I'll be on a single device for now.
In either case, it seems the socket connection works now so I'll close this issue. Thank you for your help!
from audioserve.
Related Issues (20)
- Dependency Dashboard
- Where to donate HOT 2
- Track skips when transcoding is enabled HOT 6
- New web client requires HTTPS HOT 3
- Error upgrading to v0.26.2 from v.0.24.1
- Don't work with docker-compose HOT 9
- Local Linux build fails HOT 3
- Change document.title to current track name. HOT 2
- Some m4b files fail to play HOT 1
- Cover icons for client browsing and MediaSession HOT 2
- 0.20.0: "Error deserializing data from db tag for enum is not valid, found xxx" HOT 3
- Feature request: Mark audio files as "listened"/"completed" HOT 6
- iOS and mac decode problems HOT 4
- Rust Version too Low for Build HOT 2
- Audioserve android don't support nginx auth HOT 3
- Natural Ordering of files HOT 5
- ffprobe process HOT 2
- Artificially Low Limit on File Name Length HOT 5
- [ Feature Request ] package this as a Start9 Service HOT 2
- [Feature Request] Allow "Device Group" to be configured from an HTTP Header HOT 1
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 audioserve.