-
Notifications
You must be signed in to change notification settings - Fork 43
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
Reconnect when network connection shifts #128
Comments
Currently I can't check this behaviour as I don't do network connection shifts. Does this issue appear with other media players, e.g. lollypop and radio streams as well? Maybe it's not extension related |
thanks for the hint - yes, the playback stops also in Rhythmbox - do you know where to communicate this issue? |
It could be possible to fix it in the extension directly. We just need to remember if the radio was playing. Then, when we have a network error and if the radio was playing, we could retry after a few seconds ? |
Should be possible to do it in the extension, but the gstreamer api has to be checked for the proper messages. |
Not sure, but maybe there is way to subscribe for dbus message for network reconnection. Maybe this is helpful: |
As of gstreamer supporting network stream errors, here is some previous art:
Since most radio stations probably use icecast, souphttpsrc is assembled with the playbin. This has a retry property: So when setting this to infinite (-1), the stream should restart until the user presses stop. |
In my experience, the playback stops when I shift the system's connection, e.g. from ethernet to wifi.
The text was updated successfully, but these errors were encountered: