NSURL Containing RTSP and Password?
NSURL Containing RTSP and Password?
- Subject: NSURL Containing RTSP and Password?
- From: Brad Carter <email@hidden>
- Date: Thu, 8 Mar 2007 23:17:06 -0700
Sorry if some of you read this on the QuickTime API list last week
but I didn't get any hints so I'm posting this hear as well.
I'm trying to embed a username and password in an NSURL which in turn
I use initWithURL for a QTMovie object. I have no problems with an
RTSP stream that doesn't need authentication but when I use the
following format, rtsp://user:pass@address and then test if I'm able
to init using canInitWithURL I can't init the movie.
When I try using this same format in QuickTime Player's Open URL and
get an alert saying a network error has occurred. Based on this it
appears the QT API doesn't support authentication this way. Can
anyone confirm this or have a work around?
Thanks,
Brad
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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