Discussion Forums  >  Uncategorized

Replies: 10    Views: 688

Anarchy Digital
buzztouch Evangelist
Profile
Posts: 57
Reg: May 13, 2011
Plymouth
570
08/21/11 06:51 PM (14 years ago)

Any ideas on creating an audio stream from a url that ends in .jsp?

Hello! I am tring to make an app for a radio station but the dont stream in .mp3... All the are able to supply me is an url that ends in .jsp.. Any thoughts on a solution or work around would be great! Thanks in advance!
 
Anarchy Digital
buzztouch Evangelist
Profile
Posts: 57
Reg: May 13, 2011
Plymouth
570
like
08/21/11 06:56 PM (14 years ago)
I know that .jsp is a stream but im trying to figure out how to put it in the app so it looks like a tradtional streaming app.... Thanks!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/22/11 01:52 AM (14 years ago)
Not sure...don't even now what .jsp is in an audio format. I'll be the .jsp file is a server side script (like .php, .asp, etc) that outputs data depending on some other parameter. Just a hunch. Lots of 'streaming services' provide a URL to a web-page, not an audio file. A webpage script (.php, .jsp) is not audio data so you'll probabaly struggle with this. Post the URL so we can see what it spits-out, we'll go from there.
 
Anarchy Digital
buzztouch Evangelist
Profile
Posts: 57
Reg: May 13, 2011
Plymouth
570
like
08/22/11 04:34 AM (14 years ago)
Thanks david! It is linked to a webpage. Here is the page: http://depts.luzerne.edu/wsfx/streaming.jsp. It looks like its embedded...
 
gereghas
Aspiring developer
Profile
Posts: 45
Reg: May 14, 2011
Oklahoma
1,250
like
08/22/11 09:06 AM (14 years ago)
Do they stream only at certain times? I checked at 11:00 am central time and there is no stream. I think I was able to extract the stream from the source. The URL is http://depts.luzerne.edu/wsfx/streaming/wsfx.mov but not sure since the page you linked is not streaming.
 
Anarchy Digital
buzztouch Evangelist
Profile
Posts: 57
Reg: May 13, 2011
Plymouth
570
like
08/22/11 02:50 PM (14 years ago)
Thats interesting, will the .mov link work? They should be on the air 24/7.... Thanks for the heads up.
 
gereghas
Aspiring developer
Profile
Posts: 45
Reg: May 14, 2011
Oklahoma
1,250
like
08/22/11 04:33 PM (14 years ago)
When I loaded the page in Safari and Chrome, all I seen was the srolling bar that shows that something is loading. Never heard any audio. Is it only accessible behind a login perhaps?
 
Anarchy Digital
buzztouch Evangelist
Profile
Posts: 57
Reg: May 13, 2011
Plymouth
570
like
08/22/11 05:13 PM (14 years ago)
It should just play, they may be having issues. I did get the following address but i am getting the same thing you are, safari wont open it. Rtsp://streaming.luzerne.edu/Wsfx.sdp. Thanks for helping me get to the bottom of it. I have a call into my contact to see if i can get any additional info.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/22/11 10:09 PM (14 years ago)
@AnarchyDigital: What happens if you just create an HTML page with an embeed tag like they use on the website. Like this: <OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B WIDTH=1 HEIGHT=1 CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab> <PARAM NAME=src VALUE=streaming/wsfx.mov> <PARAM NAME=autoplay VALUE=true> <EMBED SRC=streaming/wsfx.mov WIDTH=1 HEIGHT=1 PLUGINSPAGE=http://www.apple.com/quicktime/ AUTOPLAY=true /> </EMBED> </OBJECT> You'll see that the streaming/wsfx.mov file is embeeded on the page and it is was actually plays the stream. Make a Custom HTML or URL page, use an embedded player like this one....bet it works ;-)
 
Anarchy Digital
buzztouch Evangelist
Profile
Posts: 57
Reg: May 13, 2011
Plymouth
570
like
08/23/11 04:50 AM (14 years ago)
Thanks david! I'll give it a try!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/23/11 05:04 AM (14 years ago)
One more thing... in looking it looks as if the 'player' in the code I posted is 1 x 1 pixels in dimension. Not sure if this matters or not but you may need to increase the size of the embed 'box' to see the player / volume etc.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.