From: "Clary, Jason" <[EMAIL PROTECTED]>
Subject: RE: redirecting from a web page to an RTSP URL

Why write to disk?  The ASP page can set the Content-type: header to
audio/x-pn-realaudio

Here, the following would do this quite nicely...

<%
ServerAddr="192.168.16.5"  ' Replace with your own server address
PathToSmil="smiles/mysmil.smi" ' Generate this dynamically to make this
useful..  or at the very least
                                        ' get it from a querystring
argument.
Response.ContentType="audio/x-pn-realaudio"
%>
rtsp://<%=ServerAddr%>/<%=PathToSmil%>
--stop--
pnm://<%=ServerAddr%>/<%=PathToSmil%>


If you use this code, you won't have to do a redirect at all.  The response
content type will force IE or Netscape to open realplayer and realplayer
will follow the path in the ram file generated here.

-----Original Message-----
From: "Nathan Zaetta" <[EMAIL PROTECTED]>
Subject: Re: redirecting from a web page to an RTSP URL

Hey Jody, Im doing the same thing and had the same problem.

The solution, have your asp script generate a smil file, write to disk and
response.redirect via http and ramgen, works a treat :)

--
Nathan Zaetta
Services Developer


*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to