ebruck / radiotray-ng

An Internet radio player for Linux
GNU General Public License v3.0
255 stars 23 forks source link

Streams seem unable to play with gstreamer 1.18.4 (1.19.1?) #171

Closed tomporter518 closed 3 years ago

tomporter518 commented 3 years ago

On Fedora 34, gstreamer has been updated to 1.18.4 (though the package version is 'odd', 1.19.1-2.1.18.4.fc34). Since then all streams fail to play, throwing 'Internal data stream error'. This is an excerpt from my log with debug enabled:

[2021-06-26 17:32:59.884599] [0x00007fcaf6dc3240] [debug] (notification.cpp:63) - notify: Connecting, Radiotray-NG, radiotray-ng-notification
[2021-06-26 17:32:59.900080] [0x00007fcaf6dc3240] [debug] (playlist_downloader.cpp:140) - http-timeout=15
[2021-06-26 17:33:00.400666] [0x00007fcaf6dc3240] [warning] (playlist_downloader.cpp:199) - Content exceeds our limit of 4,096 bytes!
[2021-06-26 17:33:00.400761] [0x00007fcaf6dc3240] [info ] (playlist_downloader.cpp:101) - no decoders, assuming direct media stream of content-type: audio/aac
[2021-06-26 17:33:00.400800] [0x00007fcaf6dc3240] [debug] (player.cpp:46) - uri: http://stream.revma.ihrhls.com/zc4712
[2021-06-26 17:33:00.400829] [0x00007fcaf6dc3240] [debug] (player.cpp:58) - buffer-size=640000, buffer-duration=2
[2021-06-26 17:33:00.403546] [0x00007fcaf6dc3240] [debug] (config.cpp:55) - saving: /home/tomporter/.config/radiotray-ng/radiotray-ng.json
[2021-06-26 17:33:00.841494] [0x00007fcaf6dc3240] [error] (player.cpp:231) - error received from element source: Internal data stream error. , 4,581:1
[2021-06-26 17:33:00.841540] [0x00007fcaf6dc3240] [error] (player.cpp:234) - debugging information: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPlayBin3:player/GstURIDecodeBin3:uridecodebin3-2/GstURISourceBin:urisourcebin2/GstSoupHTTPSrc:source:
streaming stopped, reason not-linked (-1)
[2021-06-26 17:33:00.842685] [0x00007fcaf6dc3240] [info ] (player.cpp:78) - playlist is empty
[2021-06-26 17:33:00.842707] [0x00007fcaf6dc3240] [debug] (player.cpp:251) - setting state to: stopped
[2021-06-26 17:33:00.842852] [0x00007fcaf6dc3240] [debug] (notification.cpp:63) - notify: Error, Internal data stream error., radiotray-ng-notification

Using: gst-play-1.0 "http://stream.revma.ihrhls.com/zc4712" works and demonstrates the proper plugins are available for playback. I have also tried pulling the latest source and building, thinking perhaps that might be all that was required. The same error occurs with the self-built version.

tomporter518 commented 3 years ago

A few package updates have fixed this issue.