Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

oddsocks iPhone patch does not autoplay until 4MB

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
jbruce12000



Joined: 23 Sep 2008
Posts: 1

PostPosted: Tue Sep 23, 2008 11:46 am    Post subject: oddsocks iPhone patch does not autoplay until 4MB Reply with quote

I installed and tested the oddsocks iPhone patch and discovered that it does not autoplay until after about 4MB of data has been downloaded to the iPhone. I have tested this with several iPhones with the same result.

I found a work-around and have been trying to implement the change in Icecast, but I have been unsuccessful and need some help. After receiving the first 206 partial content request, if the server sets the content-length to two bytes and sends just two bytes, the iPhone will autoplay the stream almost immediately. Every subsequent request should set the content-length to a really high value (since the length of the stream is not known).

I have not yet found a way to control the number of bytes sent in response to a request. Is this possible?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Sep 23, 2008 9:03 pm    Post subject: Reply with quote

If apple have gone out of their way to prevent playback then I don't see why we should bend over backwards to determine what procedure could be used. If the procedure making this work is only mildly irritating then it may be considered.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber