Old 5th April 2013, 04:12   #1
Brodway
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
Brodway is offline   Reply With Quote
Old 5th April 2013, 08:33   #2
jaromanda
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


Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 7th April 2013, 04:58   #3
Brodway
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.....
Brodway is offline   Reply With Quote
Old 7th April 2013, 09:17   #4
jaromanda
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

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 9th April 2013, 12:03   #5
tamilboy877
Junior Member
 
Join Date: Apr 2013
Posts: 11
yes flashplayer do not support ACC!
tamilboy877 is offline   Reply With Quote
Old 9th April 2013, 22:59   #6
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by tamilboy877 View Post
yes flashplayer do not support ACC!
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.

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Technical Support

Tags
aac, flash player, web player

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump