-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
Description
Bug Report
SDL is unable to stream different audio files.
1st file can be streamed successfully however there are errors with subsequent ones.
Reproduction Steps
- Make sure
AudioStreamConsumer = socketin .INI file - Register and activate NAVI app
- Start Audio service
- Start streaming 1st file and wait until streaming is finished
- Start streaming 2nd file (or the same file one more time)
For steps 4 and 5 check file is playing correctly using GStreamer:
gst-launch-1.0 souphttpsrc location=http://0.0.0.0:5080 ! audio/x-raw,format=S16LE,rate=16000,channels=1 ! pulsesink
Expected Behavior
File has played successfully with appropriate duration.
Observed Behavior
File can't be played due to errors observed in GS:
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
streaming stopped, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Could not establish connection to server.
Additional debug info:
gstsouphttpsrc.c(1375): gst_soup_http_src_parse_status (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
Could not connect: Connection refused (4), URL: http://0.0.0.0:5080, Redirect to: (NULL)
ERROR: pipeline doesn't want to preroll.
Only restart of the Audio service helps to play 2nd file
OS & Version Information
- OS/Version: Ubuntu 18.04
- SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop (2e5c3ab)
- Testing Against: SPT