Hi Leon
The documentation should read "The QTSS_RTSPAuthorize_Role is deprecated
in its current form". In other words, any modules that used the
Authorize Role to get the basic username and password from the RTSP
Request object and authenticate/authorize the request cannot do so
anymore. The behavior of the role has changed as another role called
QTSS_RTSPAuthenticate_Role which gets called before it has been added.
This is not documented yet, as it has been added for QTSS/DSS 3.0 but
may be modified in some form in the near future. When the new API is
finalized, it will be documented. Until then, you can look at the
RTSPSession::Run function code in RTSPSession.cpp to see in what order
the server calls the roles and what it expects from a module that
listens in those roles.
- mythili
--
Mythili Devineni
email@hidden
QuickTime Streaming Server Engineering
leon wrote:
>
> hello!everybody!
> In the document of QTSSAPIDocs,it said that"The QTSS_RTSPAuthorize_Role is deprecated. Modules that use the
> QTSS_RTSPAuthorize_Role that existed in previous versions of the QTSS
> programming interface will not work. You should update your source code
> and binaries to remove the QTSS_RTSPAuthorize_Role as soon as possible."
>
> however,In my download source code of DSS3.0,I still find that the modules that use the QTSS_RTSPAuthorize_Role can
> work.If I want other computer to authenticate the username and password of the client,I have a TCP/IP connection with
> this computer,who can tell me where I can add code to send the client information to the computer and skip the
> QTSS_RTSPAuthorize_Role.
> thanks
> leon