Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Authentication in an Announce Request. Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Authentication in an Announce Request. Help!



Hi,

I've to create an sdp file in the Darwin Movies directory, so I send an rtsp request with the announce method, and the body of the message contains de sdp especification.

Darwin answer me with the code 401:
RTSP/1.0 401 Unauthorized
Server: DSS/3.0.1 [v337]-Win32
Cseq: 1
WWW-Authenticate: Basic realm="Streaming Server"

I've read some documentatmon, and It seems that it should work if I send the header field "authorization" in the request, with the
right credentials following the Basic scheme. It would be as it follows:

Authorization: Basic <user:password in base64>

I tried with <user:password> = streamingadmin:default, that are Darwin's web application user name and password (for management purposes).

But I got the same response: Unauthorized. I also tried with windows user name and password but still the same. I don't know what more to try.

Somebody help me!
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.