Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

softwareguy256

macrumors regular
Original poster
Jun 5, 2010
131
0
I have a streaming HTTP connection that streams live data (content-length is undefined). Because there is no length for NSURLSession to look for, it is buffering data and not calling back on my delegate until the buffer is full. This is very bad for realtime purposes. How do I disable buffering, directly poll the data, or change the buffering size? Either one of these 3 options would solve my problem but I can't figure it out.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.