Long pause and resume shoutcast streams

Bhavya bhavyar.1992 at gmail.com
Wed May 25 05:27:07 UTC 2016


Hi All,

I  am facing issue on resuming shoutcast streams after long pause.
On resume, playback continues for some time and when again it tries to
re-establish the connection, range request is added to header.
Since server doesn't support range request, Server does not accept Range
HTTP header error is posted.

But vlc handles this case, it plays buffered data, then continues from
current streaming position.
Please let me know this case can be handled without reconstructing pipeline 

Below are the gstreamer logs:
0:34:33.796712697  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:934:gst_soup_http_src_got_body_cb:<source> got body
0:34:33.796833070  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:954:gst_soup_http_src_finished_cb:<source> finished
0:34:33.797188009  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:1128:gst_soup_http_src_response_cb:<source> got response
200: OK
0:34:33.797277964  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:1296:gst_soup_http_src_do_request:<source> Reconnecting
0:34:33.797512529  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:1260:gst_soup_http_src_build_message:<source> request
headers:
0:34:33.797548966  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  Connection:
close
0:34:33.797584265  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source> 
icy-metadata: 1
0:34:33.797617124  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  Range:
bytes=590800-
0:34:33.797649332  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:1310:gst_soup_http_src_do_request:<source> Queueing
connection request
0:34:35.128810035  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:745:gst_soup_http_src_got_headers_cb:<source> got headers:
0:34:35.128873963  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  Date: Wed,
25 May 2016 06:00:57 GMT
0:34:35.128917232  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source> 
icy-notice1: <BR>This stream requires  Winamp <http://www.winamp.com/>  <BR>
0:34:35.128955784  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source> 
icy-notice2: SHOUTcast Distributed Network Audio Server/Linux v1.9.8<BR>
0:34:35.128992384  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  icy-name:
idobi Radio: New. Music. Unfiltered. idobi.com
0:34:35.129027032  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  icy-genre:
Alternative
0:34:35.129059077  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  icy-url:
http://idobiradio.com/
0:34:35.129092099  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source> 
Content-Type: audio/mpeg
0:34:35.129125283  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  icy-pub: 1
0:34:35.129155376  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source> 
icy-metaint: 16384
0:34:35.129186283  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  icy-br: 128
0:34:35.129217189  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  X-Cache:
MISS from localhost
0:34:35.129250048  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source> 
X-Cache-Lookup: MISS from localhost:3128
0:34:35.129282744  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  Via: 0.0
localhost (squid/3.1.19)
0:34:35.129315440  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:732:gst_soup_http_src_headers_foreach:<source>  Connection:
close
0:34:35.129353992  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:802:gst_soup_http_src_got_headers_cb:<source> icy-metaint:
16384 (parsed: 16384)
0:34:35.129664848  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:816:gst_soup_http_src_got_headers_cb:<source> Content-Type:
audio/mpeg
0:34:35.129939267  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:884:gst_soup_http_src_got_headers_cb:<source> calling
gst_element_found_tags with taglist, organization=(string)"idobi\ Radio:\
New.\ Music.\ Unfiltered.\ idobi.com", genre=(string)Alternative,
location=(string)http://idobiradio.com/;
0:34:35.130043861  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:1150:gst_soup_http_src_parse_status:<source> method GET
code 200
0:34:35.130080136  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:893:gst_soup_http_src_got_headers_cb:<source> src->ret
1033552 status_code 590800 
0:34:35.130114621  3663 0xb4311380 DEBUG            souphttpsrc
gstsouphttpsrc.c:900:gst_soup_http_src_got_headers_cb:<source> src->ret
1033552 status_code 590800 
0:34:35.130169765  3663 0xb4311380 WARN             souphttpsrc
gstsouphttpsrc.c:904:gst_soup_http_src_got_headers_cb:<source> error: Server
does not support seeking.
0:34:35.130202787  3663 0xb4311380 WARN             souphttpsrc
gstsouphttpsrc.c:904:gst_soup_http_src_got_headers_cb:<source> error: Server
does not accept Range HTTP header, URL: http://208.53.164.180:80






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Long-pause-and-resume-shoutcast-streams-tp4677756.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list