• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURLConnection and multipart/x-mixed streams
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection and multipart/x-mixed streams


  • Subject: NSURLConnection and multipart/x-mixed streams
  • From: Milo Bird <email@hidden>
  • Date: Fri, 3 Aug 2007 21:20:54 +0100

Hello,

I'm trying to use NSURLConnection to access an MJPEG stream.

All that I've seen leads me to believe that my delegate should receive a connection:didReceiveResponse: message at the start of each new frame. Apple's documentation mentions this explicitly, and it's also described in this post to the Webkitsdk-dev mailing list:
http://lists.apple.com/archives/Webkitsdk-dev/2005/Dec/msg00036.html


However, it's not working like that for me. I'm getting one connection:didReceiveResponse: message, followed by an indefinite series of connection:didReceiveData: messages. Like this:

connection:didRecieveResponse:
	connection:didReceiveData:
	connection:didReceiveData:
	connection:didReceiveData:
	connection:didReceiveData:
	... and so on.

The connection definitely isn't finishing or failing, and I'm continuing to receive data long after the first frame must have finished transmitting, but I never get another connection:didReceiveResponse: message. I've tried this with two different network cameras now, and the result is the same.

Does anyone have any idea why this is happening?

Thanks,
Milo
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSWindowController to manage two NSWindow instances (From: Mirko Viviani <email@hidden>)

  • Prev by Date: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • Next by Date: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • Previous by thread: NSWindowController to manage two NSWindow instances
  • Next by thread: Re: NSWindowController to manage two NSWindow instances
  • Index(es):
    • Date
    • Thread