Re: QTMovieView and HTTP Redirects
Re: QTMovieView and HTTP Redirects
- Subject: Re: QTMovieView and HTTP Redirects
- From: Ryan Sutter <email@hidden>
- Date: Wed, 5 Oct 2005 09:06:17 -0500
Interesting approach. I had the same thought driving around in my
car yesterday afternoon mulling it over.
I will probably try that if the approach I'm taking now doesn't
work. Last night I dug into the NSStream documentation with the idea
of simply opening a socket and writing an HTTP GET request and
reading the response data from the server. It's such a basic
protocol that I figure I will just parse out the redirect URL from
the response (if present), perform the same check on the new URL
(etc) until I get a valid data URL for streaming, then just return
that checked URL for use in the QTMovieView.
Thanks!
Ryan
On Oct 5, 2005, at 12:40 AM, Cameron Hayne wrote:
On 4-Oct-05, at 8:21 PM, Ryan Sutter wrote:
I am working on an app where I need to play mp3 files off the web.
Maybe you should use WebKit - i.e. make a specialized web browser
that can only play mp3 files (via the QuickTime plugin). Google for
articles on using WebKit.
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden