Discussion Forums  >  Uncategorized

Replies: 9    Views: 2682

PDQ DIGITAL MEDIA
buzztouch Evangelist
Profile
Posts: 18
Reg: Apr 30, 2011
USA, Texas, Pea...
180
05/03/11 06:19 AM (14 years ago)

Shoutcast Streaming Solution That Really Works ....

I have literally spent the past 12 hours researching how to deliver my ShoutCast stream to Android without having to use a Flash Player. The streaming solution provided in BuzzTouch 1.4 simply does not work for my ShoutCast URL. Relaying my Shoutcast stream to an IceCast server as another member suggested seems more like trying to take down the Great Wall of China with a rock hammer -- pointless. And without access to the ShoutCast mobile client source code (like XiiaLive or Winamp) I was just about to give up when I stumbled across this site >> http://s4.viastreaming.net/8000/mobile/ Their solution is the cleanest and simplest that I've encountered to date because they employ a technique that cause Android to ask the user to choose which media player they want to use or immediately loads the default streaming media player already loaded on the device. My Question --- HOW DO THEY DO THAT? I know from peaking under the hood the ShoutCast URL in the following manner: <a href=http://s4.viastreaming.net/mobile.php?port=8000 rel=external data-role=button>BlackBerry</a></p> <p><a href=http://s4.viastreaming.net/mobile.php?port=8000 rel=external data-role=button>Android</a></p> <p><a href=http://s4.viastreaming.net:8000/listen.pls rel=external data-role=button>iPhone, iPad, iPod</a></p> <p><a href=http://s4.viastreaming.net:8000/listen.pls rel=external data-role=button>Symbian</a> Nothing New or Unusual there. I also figured out the the .pls files are configured thus: [playlist] NumberOfEntries=1 File1=http://s4.viastreaming.net:8000/ But what I cannot figure out is what is the code that forces Blackberry & Android to auto launch any available streaming media player installed. I cannot see the code behind the mobile.php file. Can anybody help me with this?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/03/11 09:46 AM (14 years ago)
Hi in TX: What code is it that you're looking for? Code in the buzztouch Android download or code in another file?
 
PDQ DIGITAL MEDIA
buzztouch Evangelist
Profile
Posts: 18
Reg: Apr 30, 2011
USA, Texas, Pea...
180
like
05/03/11 10:06 AM (14 years ago)
Hello David .... I could not figure out how to edit that post. None the less, I'm looking for the code used by Via Streaming on their generic mobile start page >> http://s4.viastreaming.net/8000/mobile/ I'm looking for the code behind the mobile.php file. They claim (and its true) ... Your listeners can play any ViaStreaming Shoutcast live audio stream trough mobile devices just using their phone's own media player: no external app to install or additional mobile software is required. Anyone can listen in high-quality stereo on almost any phone with an internet connection! After signing up, we will provide you a mobile page with customized streaming links suited for the following devices: RIM BlackBerry, Android, iPhone, iPad, iPod, Nokia (Symbian OS). NOW THAT'S HOT!!!! They call the Android default player like so ... href=http://s4.viastreaming.net/mobile.php?port=8000 rel=external data-role=button>Android This caused a pop-up window to open that listed ALL of the players I had installed ON my EVO that were capable of handling mp3 streaming. Thus giving me a choice of which one to use and/or set as default. Tested with 100% success on every Android I could get my hands on -- G1, LG family, Galaxy, Desire, HTC family, Samsung & Sony And the best part of it all is that its so damn simple! I could update the html/php files without having to recompile and/or upload anything on the BuzzTouch side. It also opens up the opportunity to use OpenX ad server code on the html pages. With BT in combination with the mobile.php source code, I could serve unlimited channels with banner ads without actually building a custom Shoutcast/IceCast client like XiaaLive or Winamp.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/03/11 12:04 PM (14 years ago)
Have you tried just creating a simple html page in your buzztouch app with an html link like: href='http://s4.viastreaming.net/mobile.php?port=8000' rel='external' data-role='button' what happens when you tap the link? I'll try the same thing later and see what I can come up with.
 
PDQ DIGITAL MEDIA
buzztouch Evangelist
Profile
Posts: 18
Reg: Apr 30, 2011
USA, Texas, Pea...
180
like
05/03/11 04:07 PM (14 years ago)
Hello David First off, please let me take the time to say this ... BUZZ TOUCH ROCKS!!! I'm so happy I found you guys first! In searching for an affordable streaming media solution today, I've come across a ton of VERY expensive solutions that don't offer 1/2 the support, features and flexibility that Buzz Touch has to offer. Keep in mind that I'm a newbie so be gentle. I didn't know how to post the source code here in this forum so that being said, here are some links that might help us help each other and everyone in the community. These are the source codes to the everything that makes that via streaming page work EXCEPT whatever drives that mobile.php file. The mobile start page link >> http://s4.viastreaming.net/8000/mobile/ The HTML code [removed the < > for the forum] html head titleSmoothChoice.com - Powered by ViaStreaming.com/title link rel=stylesheet href=http://s4.viastreaming.net/css/jquery.mobile-1.0a1.min.css / script src=http://s4.viastreaming.net/js/jquery-1.4.3.min.js/script script src=http://s4.viastreaming.net/js/jquery.mobile-1.0a1.min.js/script /head body div data-role=page align=center data-theme=a div data-role=header data-theme=a pfont size=-1 face=Verdana, Geneva, sans-serifSmoothChoice.com - Powered by ViaStreaming.com/font/p /div div data-role=content data-theme=a pa href=http://s4.viastreaming.net/mobile.php?port=8000 rel=external data-role=buttonBlackBerry/a/p pa href=http://s4.viastreaming.net/mobile.php?port=8000 rel=external data-role=buttonAndroid/a/p pa href=http://s4.viastreaming.net:8000/listen.pls rel=external data-role=buttoniPhone, iPad, iPod/a/p pa href=http://s4.viastreaming.net:8000/listen.pls rel=external data-role=buttonSymbian/a/p /div div data-role=footer data-theme=a pfont size=-1 face=Verdana, Geneva, sans-serifViaStreaming.com - CrossDigital Ltd./font/p /div /div /body /html The Look & Feel comes from [CSS] and can be downloaded here http://jquerymobile.com/ http://jquery.com/ http://sizzlejs.com/
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/03/11 10:06 PM (14 years ago)
Good info here. Nudge this thread if you don't see any updates in a few days. I did a little digging today but didn't come up with much. Gotta be an answer. We've been kinda putting this off for awhile because of all the other goings on. You're motivating us to dig a bit deeper. And, thanks for the kind words ;-)
 
countrywesterndj
Android Fan
Profile
Posts: 3
Reg: Jul 11, 2011
Los Angeles
30
like
07/11/11 10:31 PM (14 years ago)
I've also been trying to get this to work on my Android. Any progress been made ? I have tried using: icy://streamname:xxxx rstp://streamname:xxxx Using a m3u file. Using a proxy port 80 file. Nothing seems to work. Has anyone else gotten it to work ?
 
Locochris05
Aspiring developer
Profile
Posts: 1
Reg: Aug 26, 2011
Seattle, WA
10
like
08/26/11 01:27 PM (14 years ago)
Seems like the only way to find out is to get a viastreaming.com server account... I've spend sometime trying to figure it out, but is all about what is in the mobile.php file please someone help!!! link for the mobile streaming is here and i have tested with every phone and it really works http://s4.viastreaming.net/8000/mobile/
 
countrywesterndj
Android Fan
Profile
Posts: 3
Reg: Jul 11, 2011
Los Angeles
30
like
08/26/11 06:58 PM (14 years ago)
I don't think by signing up for an account, you will get to see the PHP code. Since it's server side software, the only way to see it is to go to the server. It's not throwing up a HTML5 audio file, as that doesn't work on most Androids. Also M3U doesn't seem to work on Androids. It some how makes the Android select the correct browser to listen.
 
Javadewd
Code is Art
Profile
Posts: 1
Reg: Dec 04, 2012
St Louis, MO
10
like
12/04/12 05:54 PM (13 years ago)
I can tell you EXACTLY how they did this and I never saw the PHP code. What they do is cause the PHP code to output an MP3 stream. You can see this for yourself by placing an MP3 file out on a website and going out to it with your browser and clicking on it. Most phones will ask you what app you want to run it, with your media [MP3] player right at the very top. When the PHP code outputs the MP3 file, your phone's media player just sees an ultra-huge MP3 file coming at it and plays it. Genius! Sorry I didn't see this thread from a year ago, but I hope it helps... And not only is the solution cross-platform (because MP3s are cross-platform), but you don't even need an app. You can literally tell your mobile-based webpage to go to the PHP code that does this. Best yet, it's crystal clear 44.1 stereo (if that top link didn't give you all that information). Peace and Love, -@JavaDewd
 

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.