Re: The Brewing Network Android App

Wed Aug 25, 2010 7:13 pm

dose it work with 1.5?
Private First Class: BN Army

"Beer is proof that God loves us, and wants us to be happy."
-Ben Franklin
BrewerBC
 
Posts: 107
Joined: Sun Nov 09, 2008 10:31 am
Location: Aloha, OR

Re: The Brewing Network Android App

Wed Aug 25, 2010 7:20 pm

BrewerBC wrote:dose it work with 1.5?

Should, yes. Let me know.
The Complex Brewery

Member: AHA, Corporal BN Army.
Equipment: 50qt Cooler MLT, 15gal Brew Kettle, The Dark Star Burner, 2 Tap Kegerator, Immersion Chiller
Surye
 
Posts: 42
Joined: Thu Oct 15, 2009 11:33 pm

Re: The Brewing Network Android App

Fri Aug 27, 2010 6:42 am

FYI Just a little feedback:
I was using the app last night for Paxton's show. There was a bit of feedback/interference and it paused several times. I also had to close and restart a couple times as it froze and began to skip & repeat. I was using the newest version at High Quality on the Droid X. It sure is nice to be able to hear it away from the PC though sitting by the firepit and drinking some brew. Thanks again Surye! :jnj
Ranger, West Point - Hessian Lake Division
Hessian Lake Brewing
User avatar
Hessian Lake
 
Posts: 324
Joined: Fri Jan 26, 2007 1:01 pm
Location: Highland Falls, NY

Re: The Brewing Network Android App

Fri Aug 27, 2010 8:32 am

I did not have nay pauses last use. had some chirpy sounds I attributed to the network.

Thanks!
"Despite the high cost of living, it still remains popular"
User avatar
jomebrew
 
Posts: 121
Joined: Mon May 18, 2009 7:01 am
Location: san jose, ca

Re: The Brewing Network Android App

Fri Aug 27, 2010 8:58 am

The chipy sounds I believe is due to seeking, which is done out of necessity. And it bugs the shit out of me. :P

A little explanation as to why the app has all these issues. Android's MediaPlayer class does not support infinite streams. If it's an mp3 on a site, with a fixed size, it can stream that, but shoutcast and internet radio in general, it won't accept. So in order to get the stream to play, I've done the following:

1) Download about 10 secs worth of audio to a buffer file.
2) Copy the buffer file to a new temp file, and feed it to the MediaPlayer.
3) The download continues into the buffer file
4) When that MediaPlayer reaches the end of the stream, it calls a callback that goes back to step 2, and then seeks to the position is ended at before.

So as you can see, there's a lot of odd stuff being done to play this stream, and it's causing glitches and timing errors.

One possible solution would be to use AudioTrack class, which will play from raw PCM bytes in memory. So I could download, decode, and create a FIFO of PCM bytes, ensuring smooth playback unless there's buffering issues, but I can monitor the FIFO contents to handle that. The biggest problem I see is technically I believe I'd have to pay royalties to decode MP3s in my own software (using libmad, which would be fast enough).

Edit:
Okay, real problem is in the damn metadata parsing! So that means I can disable episode name for better audio quality, until I add another method (maybe scrape the status page?) or debug what in the metadata code is causing blips and glitches.
The Complex Brewery

Member: AHA, Corporal BN Army.
Equipment: 50qt Cooler MLT, 15gal Brew Kettle, The Dark Star Burner, 2 Tap Kegerator, Immersion Chiller
Surye
 
Posts: 42
Joined: Thu Oct 15, 2009 11:33 pm

Re: The Brewing Network Android App

Sat Aug 28, 2010 4:30 pm

New version published! Chirpy sounds fixed, not getting any pauses, but if they are still reported, I will look into the source. I suspect it may be happening for the same reason the chirpy sounds were there, causing errors in the MediaPlayer, but we shall see.

So, other than bug fixes, what features are people wanting at this point?

Ideas:
- Archive support, shouldn't be terribly hard, as it won't have the issues of live streaming, I'll just have to have bookmark support so you can go right back to it.
- Native forum app would be nifty, TappTalk has one for phpBB, but it's not free, so I'll look into my options.


Won't work in the near future:
-JustinTV won't be feasable for now due to their ToC, however they seem to be working on an android app, so I can probably utilize that when it comes out.
-Chat is done through a third party that strictly forbids 3rd party clients, and I don't want to get TBN in trouble, so I won't be able to do this, sorry. They offer their own mobile chat, but it's webbased, not native, and I expect quite crappy.
The Complex Brewery

Member: AHA, Corporal BN Army.
Equipment: 50qt Cooler MLT, 15gal Brew Kettle, The Dark Star Burner, 2 Tap Kegerator, Immersion Chiller
Surye
 
Posts: 42
Joined: Thu Oct 15, 2009 11:33 pm

Re: The Brewing Network Android App

Tue Aug 31, 2010 7:51 pm

New version published!

Added phone call handling support.

If you're on a CDMA network (Sprint, Verizon), a call will pause the audio, but since voice and data don't work at the same time, you'll need to restart the stream after the call. If you're on GSM, it should resume where it paused. If you want to catch up to the live stream, exit and restart the stream for now.

Should help with some of the annoyances of a call coming in during a show (or indeed an outgoing call to the show!)
The Complex Brewery

Member: AHA, Corporal BN Army.
Equipment: 50qt Cooler MLT, 15gal Brew Kettle, The Dark Star Burner, 2 Tap Kegerator, Immersion Chiller
Surye
 
Posts: 42
Joined: Thu Oct 15, 2009 11:33 pm

Re: The Brewing Network Android App

Wed Sep 01, 2010 2:51 pm

I have used this a few times and I can say is THANK YOU!! The only issue I have had is the timing out but I have since then made my phone time out at 2 minutes and that helps. As long as the screen stays on I haven't had the timeout issue.
User avatar
Padronis
 
Posts: 42
Joined: Sat Apr 17, 2010 8:52 am
Location: DF Dub, TX

PreviousNext

Return to Beer Radio

Who is online

Users browsing this forum: No registered users

A BIT ABOUT US

The Brewing Network is a multimedia resource for brewers and beer lovers. Since 2005, we have been the leader in craft beer entertainment and information with live beer radio, podcasts, video, events and more.