photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
01/19/13 02:32 AM (13 years ago)

As anyone successfully streamed a video from a server with 2.0 and Android ?

Hello Guys, I'm starting to think that this is not possible, I have tried streaming using the AT53 video plug in, no success and also with a regular HTML custom video player no sucess. See here the details of the error message. https://www.buzztouch.com/forum/thread.php?tid=96BC3D6070619805A485BA4&fid=06DB0BCB08E3333&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 I'm starting to think that it is just not doable ? Serge
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/19/13 03:02 AM (13 years ago)
Everything is doable; it just hasn't all been done yet. I've used the video plugin with no problems, but my client decided to encapsulate their YouTube channel instead, so I haven't used it 'publicly' yet. However just now I put a 95MB video (mp4) into my Android Test App, and it plays fine. I'll test it from my dropbox account as soon as it finishes Synchronizing. Could it be a memory issue? Cheers! -- Smug
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
01/19/13 03:18 AM (13 years ago)
wow what plug in did you use ? BT 2.0 ? Serge
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/19/13 03:24 AM (13 years ago)
Well, I'm running a BT v2.1.7 self hosted. The plug in I used was ATrain53's Video Plugin. I haven't tested it on iOS; but I tried it on my (Android v4.1.1) Samsung Galaxy Tab II 7" tablet. Granted, I'd do something with the layout, but it works just fine. The video is still uploading, but it's an mp4; I'll share the URL once it's finished copying. I tried with it embedded in the android and had no problems. Cheers! -- Smug PS, the video finally made it up. If you want to test with it, the URL is: http://www.smugwimp.com/sharedfiles/wedding.mp4 I'll leave it up for a week or so; feel free.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/19/13 03:58 AM (13 years ago)
Hmmm.... my tests are turning out ok. It isn't finished, but the web based video is playing through the dataURL property of the AT53 video player just fine. It took a minute to load and start, but while it was loading, there was a polite dialog box on the screen explaining the loading delay... What devices are you doing your testing on? What Android version is it? Cheers! -- Smug
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/19/13 07:55 AM (13 years ago)
Hey @photoserge, No problems here either streaming video from a server on Android. Mine was a huge file also. LA
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
01/19/13 08:33 AM (13 years ago)
ok, maybe it is just that im testing it on a simulator and not on a real device ? is it working for you with the simulator and eclipse ? Serge
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/19/13 08:36 AM (13 years ago)
@photoserge, Android can be tricky with video on an emulator so yes, try on device. Usually the video will not play on the emulator. LA
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
01/19/13 09:32 AM (13 years ago)
I sorted thru @ 50 of these posts on Stack Overflow about video on the Android Emulator looking for a workaround or difinitive answer- http://stackoverflow.com/search?q=android+video+emulator Open a few of those threads and look at the advice being given by a lot of very experinced coders. They almost all say 'audio only' or 'test on a real device'
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
01/19/13 10:46 AM (13 years ago)
Hello SmugWimp, I tried with your link and it worked ! I dont get what's the difference between my link : http://www.photoserge.com/v/pscs6quickstart/intro.mp4 and yours : http://www.smugwimp.com/sharedfiles/wedding.mp4 Do I have to change something on my server for it to work ? or do I have to find another hosting solution, but then what ? If you try both link in any browser they both work but only your link (the second one) works on android app ???!? serge
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
01/19/13 12:56 PM (13 years ago)
Serge, I don't know if it matters, but your videos are very different in size delivered to the device. Yours 1280 x 720 Smug 320 x 240 Mike
 

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.