Android :: Some Files Won't Stream From Lighttpd To Droid
Dec 22, 2009
We are running into some odd issues with streaming certain files in our app. After lots and lots of testing we've narrowed it down to what seems like some sort of issue between lighttpd and Droid, and it's not just our app but the built in player as well.
If you point the Droid browser to http://stream29l.grooveshark.com/collinSong.mp3 it does not work. The same file hosted on Apache at http://staging.api.grooveshark.com/collinSong.mp3 streams perfectly. The files are identical. Both URLs work on other phones running 1.5 and 1.6, and on the emulator running 2.0.1.
The lighttpd URL fails whether playing over wifi or over 3G.
My guess is that there's something funky going on at the network level that Droid is not tolerant of, but I'm at the end of what I can debug. Any ideas?
UPDATE: I installed lighttpd on my laptop running CentOS and set it up to serve those same files (sorry, not accessible to the outside world) and the Droid can serve them fine. It's got to be a specific configuration issue with our server, or a difference in lighttpd versions. Right now my laptop is running 1.4.22 and our production server is running 1.5.0. Our production server also has the following configs set that gave me problems setting on my laptop (note: I may be missing modules, etc):
CODE:..............
the server also has these additional modules installed:
CODE:...............
I'm going to try getting modules and configs to match 100% and see if that reproduces the problem tomorrow. If not, I'll try upgrading my laptop to 1.5.0 and see if that does it.
In the meantime, does anyone know of issues related to the above configs?
UPDATE 2:
I upgraded to 1.5.0 on my laptop, streaming collinSong.mp3 still worked.
Adding: server.network-backend = "gthread-aio" did not break streaming.
However this line did: server.stat-cache-engine = "fam"
Commenting out the above line makes streaming work from my laptop, and having it enabled makes it not work. I actually got our admin to remove that line from the config and restart lighty (he said we didn't need that setting anyway), but the problem persists.
So next I tried leaving stat-cache-engine commented out on my laptop and adding these lines:
CODE:...........
Once again streaming on my laptop broke after enabling these, and works when I turn them off. Unfortunately, these are apparently needed for the threading model we are using on the server, so I can't experiment with turning them off in production. I don't know if this gives any sort of clues to anyone else, but it's all I have.
View 4 Replies
May 18, 2010
I 'm developing a video streaming android application on HTC Tattoo. I 've Lighttpd server at my server side which i use to stream videos to a web site. On Android , Do I need to enable any module in Lighttpd server?
View 2 Replies
View Related
Jul 20, 2010
I'm developing for the Android platform.
My app creates a temp file with a simple call to:
FileOutputStream fos = openFileOutput("MY_TEMP.TXT",Mode);
It works fine because I can write to it and read it normally.
The problem is that when I exit from the app I want to delete this file. I used:
File f = new File(System.getProperty("user.dir"),"MY_TEMP.TXT");
f.delete()
But it always returns false and the file is not deleted.
I have tried
File f = new File("MY_TEMP.TXT");
f.delete();
And it does not work either.
View 4 Replies
View Related
Sep 15, 2010
I have an Epic 4G through Sprint.I am a DJ and I like to listen to other DJ's mixes that are hosted online. I guess they are kinda like podcasts but only audio. An example is a site called PodOMatic. Another is called Soundcloud and another is Mixcrate.com.If I follow a DJ's link to their upload on my PC, I can listen to the full mix. Sometimes I will even download the mix and listen to the mp3 file on a mp3 player or something.Now, If I follow a link on my phone, I can not listen. The player (java? flash?) will not even show. Soundcloud is the only site that seems to work, but I only get to listen to a couple minutes of the song.Is there a way to stream these types of files through my phone? Can I download the files to my phone, then listen later? Surely there is an app for this?
View 4 Replies
View Related
Apr 5, 2010
will stream WMV files? I have a few sites that stream WMV only and would really love to be able to watch those on my phone.
View 4 Replies
View Related
Aug 1, 2010
Does anyone know of a player that will handle MP4 AVC files with a 5.1 AAC audio stream? The video plays just fine but none of the players seem capable of "downmixing" to stereo.
I did find one that would play the sound all garbled. I'd hate to have to recode my entire library to stereo to use it on my phone.
View 1 Replies
View Related
Aug 9, 2010
Would someone post an example of how to stream audio/video files using rtsp in android........
View 1 Replies
View Related
Oct 27, 2010
I am trying to stream mp3 stream from my local http server indeed hosted on my phone to android media player.When local server gets the new socket , it starts writing some http headers followed by mp3 stream. but mediaplayer socket is throwing "Broken pipe" exception.Wat may be the issue causing this.
View 1 Replies
View Related
Jun 19, 2010
I am trying to find a way to use a TV tuner card to get TV to my PC and then stream the TV to my Droid. I am basically trying to set up a poor man's Slingbox but I also want to avoid of taking control of a TV when I want to change channels.
View 1 Replies
View Related
Jun 15, 2010
I find plenty of examples of downstreaming a video from a server to an android, but I actually want to stream live images from my droid to a server.
View 1 Replies
View Related
Jul 31, 2010
Is there any way to Stream video From iPhone Or Android to RTMP Server using Red5??
i searched over internet and there is only 2 application that mange to do this successfully
(UStream , Qik)
the problem they closed source So if anyone could help me find some code snippets that make this possible ??
View 1 Replies
View Related
Sep 15, 2010
How does Helix Server work with android application? In android developers site i found that we can assign the url to MediaPlayer to stream the audio/video. But there is no specification about buffer size.. do i need to do any more coding on server side or in android application to get the streaming work for a specific buffer rate?
View 1 Replies
View Related
Nov 16, 2010
I am trying to build a music app on a android device with GStreamer ported on it. But when I try mp3 url streaming on http, it failed to handle stream (however, it works perfectly fine on Android devices with base Media Framework, OPENCore). So I wanted to know whether GStreamer supports http url streaming, or is there any other way of doing it.
View 1 Replies
View Related
Nov 17, 2009
I uploaded about 50 pictures from iPhoto (using a Mac) just to see what they looked like and then later formatted the Droid's SD card, so the pictures were no longer there.
Now, if I mount the Droid via USB and view the file structure there is a folder named /albumthumbs which contains 50 files, presumably for the 50 pictures a had on the SD card.
To me, these file, unless linking to actual photos stored on the SD card, take up extra space in the phone's memory (not worried about the SD card). I wonder if I can safely delete them (just the files...not the folder)?
View 2 Replies
View Related
Oct 13, 2010
How can I get the volume of the audio stream coming in through the android microphone?
View 2 Replies
View Related
Mar 23, 2010
I have managed to get a working video player that can stream rtsp links, however m not sure how to display the videos current time position in the UI, i have used the getDuration and getCurrentPosition calls, stored this information in a string and tried to display it in the UI but it doesn't seem to work code...
View 6 Replies
View Related
Mar 13, 2010
Does Android MediaPlayer can only work with file sources? I would like play media (video) from a network stream, but the stream comes in a non-standard protocol, so I have to somehow feed Android MediaPlayer with the data only. Is there anyway to do that? I found a few web pages suggesting using a temporary file for the buffered media data etc. but I would like to minimize the I/O usage as much as I can, so I'm looking for a API only solution if there is any? how about JNI? but looks like the permissions going to be an issue with that also.
View 1 Replies
View Related
Mar 14, 2010
Im running 2.1 and u-stream isnt working - it is displaying crazy colors and not the normal video it did on 1.5-
View 2 Replies
View Related
Dec 26, 2009
looked for an answer on quite a few threads and forums on this one.on my moto droid, there are a couple mobile sites that will not stream video, but work on my old omnia, and my brothers htc hero. ie break mobile, the onion, and a few random other ones. sometimes it will play one video, then every other video from that server gives a "video not eligable for streaming on this device" or similar error message. it seems odd to me that some mobile vids will work on a hero but not the droid? or is it just my phone? anyone else fed up with this?
View 6 Replies
View Related
May 6, 2010
I'm trying to download the SMS app from XDA and the guy has it up as a zip file. I download it and extract it, and it's a folder with random crap in it. No apk.
Then I read that I just change the file name. I'm on a Mac, so I change the filename and it verifies if I want to change it from .zip to .apk and I say "yes." Put it on my card and Astro still doesn't recognize it. It's list, but it's an icon with a window and a gear in front of it.
I installed the Vanilla email app, no problem. Not sure what the deal is with this one.
View 15 Replies
View Related
Jul 30, 2010
With the hdmi cable is it possible to stream videos saved to the phone to a TV? Say i put a movie like Avatar on my phone, can i play it on the TV?
View 7 Replies
View Related
Sep 22, 2010
I hope someone can help. All my co-workers that have the Incredible, Droid ! and EVO can stream off of iphonemoviez. I was never able to on my X and thought it was because it did not have Froyo. I just updated my software to 2.3 or what ever Verizon's version is and the first thing I did was check out the site and try to stream a movie. It still says "This video can not be streamed to this device" am I missing something? I would love for this to work. Everything else is great after 2.2/2.3.
View 1 Replies
View Related
Sep 8, 2010
Is there anyway to get the HTC friend stream for the Eris or at least something similar? I think it'd be cool to have both facebook and twitter in the same place.
View 7 Replies
View Related
Jan 22, 2010
I used to love thestreamcenter.com on my old palm treo, but 'droid doesn't' play any of the stations. They had everything! I want to listen to over the air FM Radio on my droid. Suggestions on good streaming radio app?
View 40 Replies
View Related
Feb 17, 2010
how to force the Eris to take an update when one's in the stream?
View 21 Replies
View Related
Feb 5, 2010
I'm trying to stream some videos from the Internet, but I don't think I can with the factory video player. Is there a program anyone can recommend to stream videos?
View 7 Replies
View Related
Oct 6, 2010
I have over 100GBs of audio and video files on my PC that I would like to access at anytime. Whether it's around the house or on the go. 9 out of 10 places I'm usually at have highspeed wifi connections so I'm not too concerned about streaming over the 3G network; although it would be nice.
Basically, I want to set my PC up as a private media/file server that I can access from my rooted Droid X 2.2.....cheaply, free if possible.
I'm actually surprised that this device doesn't have streaming capabilities over local wifi networks. I can transfer files over from my home network and then play them but that requires a lot of wait time and uses a lot of space on the phone.
How to configure ftp and http servers with DNS if that helps. http would take a long time to code and can't be updated quickly so I'm hoping it can be done with an ftp server.
View 9 Replies
View Related
Aug 31, 2010
I was wondering if anyone has successfully streamed AVI's to their droid?
My history with streaming:
- Used Orblive on PC to stream media (Media Skin)
- Streamed to my omnia i910, played media with Coreplayer
Worked pretty good with that setup, streamed AVI's very well (which is practically 99% of my media library)
Now i have a moto droid(1) but im having trouble trying to find an easy setup to stream video media.
Have tried:
- VLC. The setup to stream media isnt very user friendly such as a web menu that you log into your PC and browse through your library (or atleast i havent found a good tutorial yet)
- GMOTE. Its easy. Install GMOTE (w/java) on the PC (if linux have VLC on the PC too) but on the droid... you cant stream AVI. I have tried installing VLC on my droid, opens the program but wont play video. I also have Rock Player but you cant make it the default media player, so thus it wont play the stream either (or atleast i havent found/read a way to do so)
- Orblive. Great web interface. Problems though is that orb only streams in WMV/.SDP/.3GP/.PLS/Flash. The droid can only do Flash (recently, as in... 2 days ago or so) or 3GP. Flash looks... well... to give it some credit... "decent" but isnt the best FPS IMO. The 3GP format looks like watching horrible pixelling crap, to say the least. Other formats wont even stream due to the media player.
I was hoping someone could point me in the right direction. Looking for stream software (either Win7 or Linux (ubuntu)) that will stream video files (AVI's) w/o having to convert them before streaming to the android phone. If possible... A Decent setup such as web interface thats easy to point/click navigate through the stream library (like GMOTE or Orblive)
Is this possible? I would like to just keep using Orblive but i cant change the default media player... and the only other media player i have found is Rock Player (and recently VLC on android)
View 4 Replies
View Related
Jul 5, 2010
Alpine ida-x303. When I plug the USB cable in the car stereo it will charge the Droid but it will not play radio apps. The unit says no USB found.
View 4 Replies
View Related
Nov 18, 2009
I'm trying to stream UC Berkeley radio and it's not working.
http://icecast.media.berkeley.edu:8000/kalx-56.mp3.m3u .
View 8 Replies
View Related