Jump to content

Android Client - Release Candidate


CBers

Recommended Posts

Xzener

If it's freezing on those buttons your not running 1.0.2

1.0.2? Android software version, or MBAndroid version? What has changed from B4 to B5? B4 has no problem with those buttons. Should I get the released version in the Play Store?

Edited by Xzener
Link to comment
Share on other sites

Concept211

@Concept211 please turn on debug logging

 

It is: post-1134-0-71217700-1384918364_thumb.png

 

I tested both with and without debug logging and I noticed the logs are the same.  Just the same error messages "Error, HttpResponseExtensions, Error occured while Processing Request: [AggregateException] One or more errors occurred." but nothing extra.  I tried streaming via WiFi while at home and it works flawlessly and FAST!  It's just via the cell network that it buffers to the point where it is completely unwatchable.

Link to comment
Share on other sites

@Concept211  ok clean log is not going to do it. Please stop server & clear out all log files restart server and attempt playback via cellular then post a link to the full logs.

Link to comment
Share on other sites

Redshirt

@@Concept211 when you enable debug logging, I believe you have to restart the server and then the additional logging is available... I think it's the only feature that requires a restart.

Link to comment
Share on other sites

Are we allowed to make requests yet? :)

 

If so... "Upcoming" tab for tv-shows please... I know I can do  like below..

njY24fkl.png

But.. It would be sooo much easier through the application. thx

note: a way to sort out the duplicates which appear often (same exact time, name O_o) would be a bonus. Once again, thank you sir. You will not be sent on any away missions in this season. :)

Edited by speechles
Link to comment
Share on other sites

Concept211

Ok, here is the full log after restarting the service/server:

https://dl.dropboxusercontent.com/u/33858477/MB3/server-63520498744.log

https://dl.dropboxusercontent.com/u/33858477/MB3/server-63520499959.log

 

and again, no ffmepg log file is ever generated when streaming via Android.

Edited by Concept211
Link to comment
Share on other sites

For some reason it is direct playing can you please check you have wifi turned off (for test) and cell bitrate set at 450kb

Link to comment
Share on other sites

Concept211

For some reason it is direct playing can you please check you have wifi turned off (for test) and cell bitrate set at 450kb

 

I did, indeed, make sure WiFi was completely off and I was running on cellular HSPA+.  I have the cell bitrate set at 250 kb/s.  Is it possible that the Android app isn't detecting my wifi connection as being turned off or unavailable?

Link to comment
Share on other sites

Redshirt

I tested that a few months ago with my Galaxy S3, turning WiFi off while the app was running. If WiFi was turned off then it definitely wasn't able to be used. I just had a peek at the settings values to make sure that the settings didn't accidentally have an extra digit or two and they don't.

 

I guess It's possible that the android app is using cellular but still thinks it should use the WiFi bitrate. Unfortunately I don't have any logging where that test is done so can't confirm using the Android log. The only way I can think of to test that hypothesis would be to lower the wifi bitrate down to 250 kb/s and try to play the same file again. The server log would provide the answer.  

Link to comment
Share on other sites

Redshirt

Are we allowed to make requests yet? :)

 

If so... "Upcoming" tab for tv-shows please... I know I can do  like below..

njY24fkl.png

But.. It would be sooo much easier through the application. thx

note: a way to sort out the duplicates which appear often (same exact time, name O_o) would be a bonus. Once again, thank you sir. You will not be sent on any away missions in this season. :)

 

yes people can make requests now, doesn't mean I'll approve all of them though  :)

 

I thought about adding this to the next up tab, but didn't like how it would muddy what that tab is for. Still not sure if or where I would add that feature.

Link to comment
Share on other sites

Concept211

I tested that a few months ago with my Galaxy S3, turning WiFi off while the app was running. If WiFi was turned off then it definitely wasn't able to be used. I just had a peek at the settings values to make sure that the settings didn't accidentally have an extra digit or two and they don't.

 

I guess It's possible that the android app is using cellular but still thinks it should use the WiFi bitrate. Unfortunately I don't have any logging where that test is done so can't confirm using the Android log. The only way I can think of to test that hypothesis would be to lower the wifi bitrate down to 250 kb/s and try to play the same file again. The server log would provide the answer.  

 

Hey Redshirt,

 

That's exactly what I did (and I'm also using a Galaxy S3).  Here's the new log file where I have WiFi turned off and set the WiFi bitrate down to 250 kb/s.  I noticed it took FOREVER for the video to finally start playing and I did notice a decrease in image quality but it still buffered like crazy.  Also, again there was NO ffmpeg file created:

https://dl.dropboxusercontent.com/u/33858477/MB3/server-63520499959%20(2).log

 

I also grabbed the log file from the Android app if that helps:

https://dl.dropboxusercontent.com/u/33858477/MB3/client-666684f8-ebd5-4d30-8115-60111356e310.txt

 

thanks!

Link to comment
Share on other sites

@@Concept211 by chance do you have use external player in the settings marked as yes. if so no transcode takes place it is always direct play. Disable that (if active) and it will transcode.

Link to comment
Share on other sites

Concept211

@@Concept211 by chance do you have use external player in the settings marked as yes. if so no transcode takes place it is always direct play. Disable that (if active) and it will transcode.

 

Oh man...that was the problem!  Now i see the ffmpeg logs and the CPU getting hammered...but it works!  Thank you again for all of your time on this!  Maybe there needs to be a warning in the settings section to warn that the external player will not transcode?

Link to comment
Share on other sites

this is me... See above it's working on my daughters profile.

someone who's purchased the client cannot get the app to launch. The user message sent to me was "won't launch Asus memopad HD7 working fine on beta". Unfortunately that message and the accompanied stack trace aren't enough for me to figure out what's going on. I really need one of the client logs to see what's going on. Also, I'd go into your devices settings->apps and make sure that there is only one instance of mediabrowser. Uninstall them both if you have to and then reinstall from the Play Store. The path doesn't look right in the stack trace.

Link to comment
Share on other sites

Redshirt

this is me... See above it's working on my daughters profile.

 

Well I'm glad it's a forum user rather than some anonymous user that I can't help. 

 

When you get a chance I'd like to see a client and server log for when the login attempt happens. I won't rush you as you said you don't want to troubleshoot it right now.

Link to comment
Share on other sites

Redshirt

are you using an external player? that was the problem i was having yesterday and it was because i wasn't using the internal player which allows for the video to transcode.

nah He's using the internal player.

Link to comment
Share on other sites

CBers

Just thought I'd turn off wifi at home so as to force MBAC to connect over 3G as a test, but nothing played for at least 2 or 3 minutes.

It was very slow to bring details up as well - needs to cache them I presume.

When playback did start, it only played for a few seconds before buffering for another 30 seconds.

 

Seems to be a "timeout" error in the phone log:

[Wed Nov 20 20:05:17 GMT+00:00 2013] , Error , Async Delete: SocketTimeoutException caught. java.net.SocketTimeoutException
at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491)
at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
at java.io.InputStream.read(InputStream.java:162)
at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:142)
at java.io.BufferedInputStream.read(BufferedInputStream.java:227)
at com.android.okhttp.internal.Util.readAsciiLine(Util.java:316)
at com.android.okhttp.internal.http.RawHeaders.fromBytes(RawHeaders.java:308)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:135)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:644)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:347)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:296)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:503)
at com.mb.api.asyncrequests.AsyncDelete.doInBackground(AsyncDelete.java:49)
at com.mb.api.asyncrequests.AsyncDelete.doInBackground(AsyncDelete.java:16)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
 , 4755 , AsyncTask #2

Cellular setting is set to 850kbps.

 

ffmpeg log.

 

Phone log.

Edited by CBers
Link to comment
Share on other sites

Right I've figured out why it doesn't work in my profile!

The SD card doesn't mount under my profile... what I can't figure out is why! Obviously not an app issue rather my memopad. I want a Dell venue 8 more every day!!!

Link to comment
Share on other sites

When using the web client to remotely control the android client. If you choose to remote play music, choose an mp3, and remote play the android device plays that music. Do again for next mp3, remotely play and now it's, playing both at the same time. Do it again, with a 3rd mp3. Now it's layering all 3 together in this weird cacophony of collisions, some nice some awful. This is a bug, or a feature?! o_O;;? I would've expected some cross-fade as one song merges to the next but it will let you infinitely blur them together the more you start to play at once.

 

Note: Even had the android client crash on me whilst doing this, and had it "report". I left my forum username in the report it sent.

Edited by speechles
Link to comment
Share on other sites

Redshirt

When using the web client to remotely control the android client. If you choose to remote play music, choose an mp3, and remote play the android device plays that music. Do again for next mp3, remotely play and now it's, playing both at the same time. Do it again, with a 3rd mp3. Now it's layering all 3 together in this weird cacophony of collisions, some nice some awful. This is a bug, or a feature?! o_O;;? I would've expected some cross-fade as one song merges to the next but it will let you infinitely blur them together the more you start to play at once.

 

Note: Even had the android client crash on me whilst doing this, and had it "report". I left my forum username in the report it sent.

 

That's an oversight on my part. I remember thinking at the time that I had to make sure that it was killing the previous session. Oops :D

Link to comment
Share on other sites

Concept211

here's the logs from the server and phone.  I can stream at home but not on the road, The video never opens and after a while returns to the Overview page.  Since installing from the Google Play store I haven't been able to play anything outside my network.  I have my ports open and verified as open, my IP is entered.  Same setup as when I was on beta and it worked then.  I uninstalled the beta before downloading from the Play store.  Only other thing I have done was install the alpha of MBT on my PC.  Here's the logs:

 

 

are you using an external player? that was the problem i was having yesterday and it was because i wasn't using the internal player which allows for the video to transcode.

Edited by Redshirt
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...