| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Dec 2004
Posts: 1
|
i am looking for a flash player that can play a stream from http://IP/listen.pls
anyone has an example maybe? |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jan 2005
Posts: 1
|
I have been pulling my hair out for a while over this. This is the closest thing I have found for a solution. Unfortunately it's not a solution, for me anyway...
//begin quote from "rmax" @ http://forums.devshed.com/t70020/s.html /////////////////////////////////////////////////////////////////////////////// As far as i know the trick is that flash, once embedded in a html page will acces teh shoutcast stream with a normal http header and will therefor not connect. When u use your swf and run ut from your desktop as an executable it will work just fine. So the 'trick' is to fool the shoutcast server into thinking you are not requesting it as a flash movie embedded in html, but as a program like winamp. If you are using ASp, like me, i cant help you, since im still looking for a way to do this (IF ANYONE CAN HELP PLEASE POST HERE!). If your using PHP, you're in luck cuz this is what you have to do: -- PHP Code:
ActionScript Code:
is anyone has an idea for asp, let me know ! //end quote from "rmax" @ http://forums.devshed.com/t70020/s.html ///////////////////////////////////////////////////////////////////////////// unfortunately this solution requires a flash communication server and I am not using that. Further, I'm not clear if this is for an .mp3 stream or if it will grab a .pls which is what I want. I know some php but I don't understand the proxy connection he's making and so I have yet to make it work. I am also fairly new to flash and am a total newb with AS and it's capabilities. I have had great success with the php/flash combination thus far though! I assume you want this as a single click method for your visitors to be able to listen to your shoutcast stream regardless of browser and without having to download anything other than possibly flash-plugin. If you have any luck or ideas at all, please post them. good luck... Last edited by CyanBlue; 02-18-2005 at 01:13 AM.. Reason: PHP tag is applied |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Sep 2003
Posts: 40
|
ok. I tried the solution
I haven't tested it online, and i'm not sure the bandwith is desireable... but anyway... It works fine locally. By the way, the most optimal way would be to stream directly from source to client, but it seams impossible. Proof me wrong, please. Next step mut be to clear out the memory on the fly. The stream just builds up in the memory, causing great lag after a while. Well it does not work properly. After a little while, the stream stops, but i tried streaming directly between source and client. Works almost fine though it should not, due to flash security... i guess. But after a while it fills up my cache, and my computer works very slowly. try it: neonleif.dk/flasnd/streaming.swf Last edited by neonleif; 02-25-2005 at 12:00 AM.. Reason: Well it does not work properly. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Oct 2006
Posts: 1
|
Sorry for the reply to an old topic, but this is being indexed by Google so it could help others.
in flash use PHP Code:
|
|
|
|
|
|
#5 |
|
Klaus_15 TS2
|
Thanks undefinedmatrix!!! Thanks for replying to an old topic, indexed by Google!! I've been looking for the solution of this problem for a long time. Now I will reply all topics referring to this in spanish forums!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|