I searched the net to get an idea on how to embed authentication parameters in rtsp url for Quicktime, but was not successful. I'm starting to wonder if Quicktime supports it at all. I installed QT 7.7 and tried the following two methods for embedding a username and password:
<OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width='200' height='156' codebase='http://www.apple.com/qtactivex/qtplugin.cab'> <param name='src' value='Loading.jpg'/> <param name='href' value='rtsp://address/archive/d8138017caf5c1?username=abcd&password=xyz'/> <param name='target' value='myself'/> <param name='autohref' value='true'/> <param name='controller' value='false'/> <EMBED type='application/x-rtsp' pluginspage='http://www.apple.com/quicktime/download/' width='200' height='156' src='Loading.jpg' href='rtsp://172.21.57.125/archive/d8138017caf5c1?username=apiuser&password=cisco' target='myself' autohref='true' controller='false' loop='false'> </EMBED> </OBJECT>
In this case, Quicktime does not recognize the request parameters and opens a dialog for the username and password.
<OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width='200' height='156' codebase='http://www.apple.com/qtactivex/qtplugin.cab'> <param name='src' value='Loading.jpg'/> <param name='href' value='rtsp://username: password@address /archive/d8138017caf5c1'/> <param name='target' value='myself'/> <param name='autohref' value='true'/> <param name='controller' value='false'/> <EMBED type='application/x-rtsp' pluginspage='http://www.apple.com/quicktime/download/' width='200' height='156' src='Loading.jpg' href='rtsp://username: password@172.21.57.125 /archive/d8138017caf5c1' target='myself' autohref='true' controller='false' loop='false'> </EMBED> </OBJECT>
In the above case, Quicktime cannot play, stating that the server was not found.
Is there a way to get authenticated rtsp streams for playback in Quicktime?
source share