Re: using sockets to load a streaming windows media file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 7, 2005 8:05 pm, Dan Rossi said:
> Hi there, is there anyway possible to load a streaming windows media
> file via a socket connecting to output its contents to the browser or a
> windows media object. My issue is I am spitting out an asx playlist
> file however for some freak reason, whenever i put control logic around
> where i am outputting the playlist the player craps out saying playlist
> file format not recognised. Which is why I want to try out this way
> execpt socket transport doesnt understand mms :) Ie the file would look
> like mms://thefile

Sounds like maybe you have a PHP error message printing out in the stream...

What happens when you wget the URL with its headers?  Does the data look
right?

You may also need to "fool" MS by naming your PHP script as "thefile.wmv"
and then using .htaccess and ForceType to make it be a PHP script.

MS is really dumb about URLs versus file extensions.  really really dumb.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux