Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.2.4, 6.3.0 RC
-
None
Description
On Linux/X11 (gstreamer), QMediaPlayer fails to play remote content. As an example, try with https://filesamples.com/samples/audio/mp3/Symphony%20No.6%20(1st%20movement).mp3. This can be streamed in a browser just fine. But when setting it as a source of QMediaPlayer, this fails.
Debug output with GST_DEBUG=4:
Media status: QUrl("https://filesamples.com/samples/audio/mp3/Symphony No.6 (1st movement).mp3") = QMediaPlayer::BufferedMedia 0:00:00.296483377 35763 0x7f5658005920 INFO task gsttask.c:368:gst_task_func:<queue2-0:src> Task going to paused 0:00:00.321782987 35763 0x555cb32c9460 INFO basesrc gstbasesrc.c:3037:gst_base_src_loop:<source> pausing after gst_pad_push() = not-linked 0:00:00.321842144 35763 0x555cb32c9460 WARN basesrc gstbasesrc.c:3127:gst_base_src_loop:<source> error: Internal data stream error. 0:00:00.321854855 35763 0x555cb32c9460 WARN basesrc gstbasesrc.c:3127:gst_base_src_loop:<source> error: streaming stopped, reason not-linked (-1) 0:00:00.321901300 35763 0x555cb32c9460 INFO GST_ERROR_SYSTEM gstelement.c:2234:gst_element_message_full_with_details:<source> posting message: Internal data stream error. 0:00:00.321966602 35763 0x555cb32c9460 INFO GST_ERROR_SYSTEM gstelement.c:2261:gst_element_message_full_with_details:<source> posted error message: Internal data stream error. 0:00:00.321990419 35763 0x555cb32c9460 INFO task gsttask.c:368:gst_task_func:<source:src> Task going to paused Error: QMediaPlayer::ResourceError "Internal data stream error." Media status: QUrl("https://filesamples.com/samples/audio/mp3/Symphony No.6 (1st movement).mp3") = QMediaPlayer::InvalidMedia
Not sure what to make of gstreamer stating "not-linked" as the reason.