Dynamic playlists - Can someone explain this post to me?
am 22.07.2007 06:59:42 von janefield2002
Dear All,
I have been struggling with this for a long time and I think I found
what I am looking for, but I can't sem to understand it:
http://groups.google.com/group/microsoft.public.windowsmedia .server/browse_thread/thread/4b0c55955cac9c3c/134535c1fdf863 0e?lnk=st&q=query+string+mms&rnum=1#
>From the above tips, I understand that I can pass a query string to
the mms namespace from iis (say an myembeddedvideo.html has the "url"
parameter) as follows:
URL = mms://WMServer/ODRadio?Entry1=mycustomSelection1&Entry2=myCu stomSelection2
I would presume that ODRadio is the on-demand publishing point. In
order to "retrieve" this query string, I just want to confirm that I
simply need to specify the playlist as coming from "HTTPD", with an
asp file.
This asp file would be specified when I create the ODRadio publishing
point through the advanced wizard. I would like to know exactly how I
need to refer to the asp file:
Would it be: http://IISServer/GetPlaylist.asp
or
http://IISServer/GetPlaylist.asp?%Querystring% (that didnt seem to
work for me)
or should it be:
http://IISServer/GetPlaylist.asp?%QUERY_STRING% (Can someone tell me
exactly what it should be?)
I really need to ensure that the query string goes from the IIS
namespace to the MMS namespace and then back to the IIS namespace.
I think the other way to do this would be to have the initial html
file refer to the asp directly, i.e.
URL = http://IISServer/GetPlaylist.asp?Entry1=mycustomSelection1&E ntry2=myCustomSelection2
and let the asp return a wsx file - however, this does NOT WORK. It
seems that the .wsx returned by the asp is not understood. I am
wondering if I need to set a particular MIME type for .wsx, but I
don't know what it is.
Am I on the right track or am I completely wrong?
Thanks!
Re: Dynamic playlists - Can someone explain this post to me?
am 22.07.2007 11:48:39 von David Wang
You probably want to also read the actual documentation:
http://msdn2.microsoft.com/en-us/library/ms744559.aspx
I just searched for "Media Server httpd site:microsoft.com" and the
Microsoft SDK documentation seems to explain exactly what is going on.
My reading of the documentation is this: I don't see the .asp file
returning a .wsx file. I see the .wsx file as an XML data file that
the media player retrieves as the On-Demand publishing point and
interprets the URL directive as "retrieve the actual list from this
URL with the following querystring". You control the wsx file on the
server, so you control the URL that the media players go to, and you
can make that URL point to an ASP file and then write server-side code
to dynamically interpret any querystring and generate the playlist.
I'm not certain what the playlist should look like, but it looks like
SDK documentation also describes and provides sample ASP for what that
response should look like:
http://msdn2.microsoft.com/en-us/library/ms739229.aspx
I don't know anything about Windows Media Server, but the information
from a quick search seems sufficient to get something going.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Jul 21, 9:59 pm, "janefield2...@yahoo.com"
wrote:
> Dear All,
>
> I have been struggling with this for a long time and I think I found
> what I am looking for, but I can't sem to understand it:http://groups.google.com/group/microsoft.public.windowsme dia.server/b...
>
> >From the above tips, I understand that I can pass a query string to
>
> the mms namespace from iis (say an myembeddedvideo.html has the "url"
> parameter) as follows:
>
> URL = mms://WMServer/ODRadio?Entry1=mycustomSelection1&Entry2=myCu stomSelection2
>
> I would presume that ODRadio is the on-demand publishing point. In
> order to "retrieve" this query string, I just want to confirm that I
> simply need to specify the playlist as coming from "HTTPD", with an
> asp file.
>
> This asp file would be specified when I create the ODRadio publishing
> point through the advanced wizard. I would like to know exactly how I
> need to refer to the asp file:
>
> Would it be:http://IISServer/GetPlaylist.asp
>
> or
>
> http://IISServer/GetPlaylist.asp?%Querystring%(that didnt seem to
> work for me)
> or should it be:http://IISServer/GetPlaylist.asp?%QUERY_STRING%(Can someone tell me
> exactly what it should be?)
>
> I really need to ensure that the query string goes from the IIS
> namespace to the MMS namespace and then back to the IIS namespace.
>
> I think the other way to do this would be to have the initial html
> file refer to the asp directly, i.e.
>
> URL =http://IISServer/GetPlaylist.asp?Entry1=mycustomSelection1& Entry2=myC...
>
> and let the asp return a wsx file - however, this does NOT WORK. It
> seems that the .wsx returned by the asp is not understood. I am
> wondering if I need to set a particular MIME type for .wsx, but I
> don't know what it is.
>
> Am I on the right track or am I completely wrong?
>
> Thanks!