You are here: Re: [PHP] using sockets to load a streaming windows media file « PHP « IT news, forums, messages
Re: [PHP] using sockets to load a streaming windows media file

Posted by Richard Lynch on 05/09/05 04:33

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация