IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Shoutcast, icy-metaint parsing
stigc
post Mar 20 2012, 10:33
Post #1





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



Is the icy-metaint always found in the http headers, or could it be in the response data?

Im asking due to some old code of mine which searches both the headers and the data, but I cannot find any stream with the icy-metaint not in the header.
Go to the top of the page
+Quote Post
DoctorO
post Mar 20 2012, 12:19
Post #2





Group: Members
Posts: 26
Joined: 11-April 11
Member No.: 89722



icy-metaint should only ever be received in the header since it needs to be known from the start of the stream playback in order to be able then calculate when the metadata details will arrive.

-daz
Go to the top of the page
+Quote Post
stigc
post Mar 21 2012, 22:44
Post #3





Group: Members
Posts: 142
Joined: 13-December 04
Member No.: 18660



I found this code on the stackoverflow also checking for the metaint in the stream itself... so it must be possible, but I cannot find such shoutcast example!
http://stackoverflow.com/questions/8621353...-in-android-2-2
Go to the top of the page
+Quote Post
DoctorO
post Mar 25 2012, 16:58
Post #4





Group: Members
Posts: 26
Joined: 11-April 11
Member No.: 89722



the v1 and v2 SHOUTcast DNAS only ever send it at the start of the client connection in the header information - and the source code for both versions which is open in front of my matches with that what i'd previously said.

with what you've referred to, i don't see why it attempts to look in the body of the stream unless they've come across a 3rd party DNAS which does it that way. but as i say, the official SHOUTcast DNAS do not send it in-stream.

-daz
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2014 - 20:04