![]() |
#1 |
Junior Member
Join Date: Oct 2003
Location: Campinas
Posts: 5
|
Web Flash Player
Hi...
I have a Shoutcast 2.0 running with a 2 sources encode by sc_trans I´m using a aac encoder at 64 kbps to encoder my sources and they are playlists stored at playlists dir Every thing works fine if I listen by winamps player The URL is: xxxx.xxx.xxx.xxx:7000/listen.pls?sid=1 or sid=2 sid 1 is sertanejo.aac sid 2 is pop.aac How can I setup a two flash players for my website one for each sound in diferente pages ? Thanks |
![]() |
![]() |
![]() |
#2 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
One flash player needs to source audio from
xxxx.xxx.xxx.xxx:7000/listen.pls?sid=1 the other from xxxx.xxx.xxx.xxx:7000/listen.pls?sid=2 ![]() "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Oct 2003
Location: Campinas
Posts: 5
|
Not work
Please check the config bellow
<body> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> var s1 = new SWFObject("player.swf","ply","280","20","9","#FFFFFF"); s1.addParam("allowfullscreen","true"); s1.addParam("allowscriptaccess","always"); volume=100&autostart=true"); s1.addParam("flashvars","file=http://200.236.245.49:7000/listen.pls?Sid=1;stream.nsv&type=aac&volume=100&autostart=true"); s1.write("container"); </script> </body> This is the msg on my server 2013-04-07 01:51:50 E msg:[SRC 200.236.245.49:10555] Remote socket clo sed while waiting for data 2013-04-07 01:52:31 E msg:[SRC 200.236.245.49:10613] Remote socket clo sed while waiting for data Please anybody help me..... |
![]() |
![]() |
![]() |
#4 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
maybe "player.swf" doesn't support aac - as you've given zero indication of where you got "player.swf" then my guess is as good as yours as to what the problem is
"If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Apr 2013
Posts: 11
|
yes flashplayer do not support ACC!
|
![]() |
![]() |
![]() |
#6 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
adobe flash player has supported AAC for 5 years or more - the issue lies in the flash player APPLICATIONS - there are several ways to play an audio stream in flash. Do it the correct way and you can play Shoutcast AAC streams - here's one that works, http://users.tpg.com.au/rioradio/testbcp.html - it's a shoutcast v1 stream, but the software works with v2 streams (and NSV for that matter) as well.
The other benefit of writing a streaming player correctly is, no memory leaks. 90% of MP3 flash streaming applications will eventually crash when they've used up all your systems memory (this may not be the case now, but it was certainly true 2 or 3 years ago) Note: to play AAC streams as per the link given above requires more than just the correctly written flash application. The server also needs to have a socket policy server granting flash permission to read the stream. "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
|
Tags |
aac, flash player, web player |
Thread Tools | Search this Thread |
Display Modes | |
|
|