Re: using sockets to load a streaming windows media file

From: Date: Mon, 09 May 2005 01:33:54 +0000
Subject: Re: using sockets to load a streaming windows media file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214731@lists.php.net to get a copy of this message
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

« previous php.general (#214731) next »