ASX vs. WSX

ASX vs. WSX

am 19.07.2007 14:26:49 von janefield2002

Dear All,

What are the benefits of using an asx vs. a wsx file?

Can a wsx file be delivered by IIS (on http) or does it HAVE to be on
the Windows Media Server? (I am trying to create a wsx file
dynamically with ASP, but I understand that since it is on the WMS
server, that is not possible) Am I correct?

Thanks!

RE: ASX vs. WSX

am 19.07.2007 15:46:00 von wr

"janefield2002@yahoo.com" wrote:

> What are the benefits of using an asx vs. a wsx file?
This is a clientside playlist - server has nothing to do with it, so it's
"lighter". With the wsx-es you have much more properties to set though, and,
therefore, it is much more flexible.

> Can a wsx file be delivered by IIS
Sure! Set the httpd:// ppoint source (appropriate plugin has to be enabled).
Then point to an asp handler which delivers xml data.

Regards,
--
WR

Re: ASX vs. WSX

am 21.07.2007 09:01:31 von janefield2002

Thanks, WR. But, the problem is that I am embedded a video in an html
file.

So, the URL parameter for windows media player is specified as a
".wsx". So, URL = mms://publishingpoint/mywsx.wsx.

The above WORKS!

However, if I change URL to URL = http://mywebserver/mywsx.wsx does
not work.

Your reference to using "httpd" seems to work only as described in:
http://msdn2.microsoft.com/en-us/library/ms753558.aspx

This means that I need to specify a wsx file AND then reference a
dynamically generated wsx using the src tag from the wsx file.

The problem is I want to use URL = http://mywebserver/dynamicwsxgenerator.asp
(that generates a wsx) so that I can read in some session information
in iis, which is completely inaccessible if the wsx file lies on WMS.
I know I can generate a dynamic wsx by using httpd, but if the
referring file is a wsx itself, it is impossible for me to pass
session info from iis to wms to iis. (I know cookies can be passed,
but I dont think sessions and query strings can be passed)

Am I making sense?

Can you advise?


On Jul 19, 9:46 pm, WR wrote:
> "janefield2...@yahoo.com" wrote:
> > What are the benefits of using an asx vs. a wsx file?
>
> This is a clientside playlist - server has nothing to do with it, so it's
> "lighter". With the wsx-es you have much more properties to set though, and,
> therefore, it is much more flexible.
>
> > Can a wsx file be delivered by IIS
>
> Sure! Set the httpd:// ppoint source (appropriate plugin has to be enabled).
> Then point to an asp handler which delivers xml data.
>
> Regards,
> --
> WR

Re: ASX vs. WSX

am 24.07.2007 10:18:00 von wr

"janefield2002@yahoo.com" wrote:

> Thanks, WR. But, the problem is that I am embedded a video in an html
> file.
>
> So, the URL parameter for windows media player is specified as a
> ".wsx". So, URL = mms://publishingpoint/mywsx.wsx.
>
> The above WORKS!
>
> However, if I change URL to URL = http://mywebserver/mywsx.wsx does
> not work.

Of course it doesn't. If You call mms://publishingpoint/mywsx.wsx, the
playlist is being understood by the player as a media file (with a playlist
logic interpreted on the server side). That's why you can view wsx-es in a
player provided that You stream those from the WMS. When You call
http://mywebserver/mywsx.wsx, there is nothing to interpret the playlist
there on the serverside! HTTP server doesn't stream media.

> The problem is I want to use URL = http://mywebserver/dynamicwsxgenerator.asp
> (that generates a wsx) so that I can read in some session information
> in iis, which is completely inaccessible if the wsx file lies on WMS.
> I know I can generate a dynamic wsx by using httpd, but if the
> referring file is a wsx itself, it is impossible for me to pass
> session info from iis to wms to iis. (I know cookies can be passed,
> but I dont think sessions and query strings can be passed)

You will need to write a WMS plugin then... It should parse an incoming
request and pass the extra parameters further to the IIS. It is doable.

Regards,
--
WR