... after seeing the logcat... any ideas as to what is causing videos to 
starting hanging after playing 50+ 5s videos consecutively?
I looked at the memory profiler and it appears that garbage collecting of 
memory is happening.  I tried to find where buffer files are being stored under 
data/data...
but could not find them if they are being written to memory.

Is Geckoview buffering videos if they are being played from extSD storage?  
That seems to be the only reason why playing lots of short videos in a short 
amount of time would result in video play hanging.  If it does buffer can that 
be turned off so that resources are not used up?

Thanks!
Bob Achgill

[logcat truncated]

________________________________
From: Bob Achgill <bobachg...@hotmail.com>
Sent: Tuesday, June 2, 2020 6:11 PM
To: Agi Sferro <asfe...@mozilla.com>
Cc: Kevin Brosnan <kbros...@mozilla.com>; Aaron Klotz <akl...@mozilla.com>; 
mobile-firefox-dev@mozilla.org <mobile-firefox-dev@mozilla.org>; 
bobachg...@hotmail.com <bobachg...@hotmail.com>
Subject: Re: After watching 98 5 sec videos

To get the logcat I have to run the debug version as i did below.  I only 
included the portion where the JS auto playing each 5 sec video started to 
hang.  By this I mean after playing a video it tries to start playing the next 
video but I have to intervene and press the play button for every other video 
because the auto play is not doing its job..  Then soon I had to intervene on 
every video by pressing the play button to get it to play.

The nightly version (which can't be logged... right?) ... would eventually get 
to where even pressing the play button could not get the video to continue.

Is this the logcat that you requested?

The debug version actually starts to show the hang symptoms sooner after 
install than the nightly.  Maybe after 30 videos.  Whereas the nightly does not 
show symptoms until 90 videos.

Thanks!
Bob

________________________________
From: Agi Sferro <asfe...@mozilla.com>
Sent: Tuesday, June 2, 2020 5:10 PM
To: Bob Achgill <bobachg...@hotmail.com>
Cc: Kevin Brosnan <kbros...@mozilla.com>; Aaron Klotz <akl...@mozilla.com>; 
mobile-firefox-dev@mozilla.org <mobile-firefox-dev@mozilla.org>
Subject: Re: After watching 98 5 sec videos

Bob,

it would be really helpful if you could send a log from your device while 
reproducing this. You can collect device logs running `adb logcat` on a 
terminal while the device is connected to your computer.

On Tue, Jun 2, 2020 at 2:44 PM Bob Achgill 
<bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>> wrote:
@Kevin Brosnan<mailto:kbros...@mozilla.com> ... has that temp file cleanup been 
implemented for Android Gecko?

My use case is children viewing hundreds of 5s video clips per session.  So it 
may be best if I can prevent the caching of video to not happen at all.  If 
that is what's happening.  I have preload turned off in the html/JS that calls 
each video..

<video name="video_player" id="video_player" style="display:none" controls 
preload="none">
                        <source src="mp4" type="video/mp4"/>
                    </video>

Once I watched a Google Developer announcement that talked about how they had 
built a video play api that was good for streaming video.  It would smartly 
buffer video while checking the network speed and determine on the fly whether 
to lower the resolution so the user did not encounter pauses.  Could it be the 
case that that technology is being used with Geckoview?  If so ... is there a 
way to turn off the smart buffering in cases where it is clear that the video 
is local... i.e. no network delay?

This is not my first rodeo with buffering clogging up the works.  With hundreds 
of short video clips that all get exercised... preload="none" was the cure.

If GeckoView is smart buffering the beginnings of each video ... how can I turn 
that off?

Thanks!
Bob

________________________________
From: Kevin Brosnan <kbros...@mozilla.com<mailto:kbros...@mozilla.com>>
Sent: Tuesday, June 2, 2020 3:53 PM
To: Bob Achgill <bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>>
Cc: Aaron Klotz <akl...@mozilla.com<mailto:akl...@mozilla.com>>; 
mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org> 
<mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org>>
Subject: Re: After watching 98 5 sec videos

Maybe you are hitting a variation on
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.mozilla.org%2Fshow_bug.cgi%3Fid%3D1555115&amp;data=02%7C01%7C%7Ca8f63513e2bc4ca1f79608d80737106d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267280358298634&amp;sdata=9qzX1q3B5pTrb0CZ0i1frIWn8QNEo9SHKElnMZVTv9M%3D&amp;reserved=0<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.mozilla.org%2Fshow_bug.cgi%3Fid%3D1555115&data=02%7C01%7C%7Ce87037ac3f0249e41fe608d80741d638%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267326627895296&sdata=s9sKfEcF6MmMyWrxfvpLshgfJ2bo0BQcziPFx%2FjmbSE%3D&reserved=0>
 which is that the
app_tmpdir folders/files are not cleared. Comment 5 sounds
relevant/similar.

Kevin Brosnan

On Tue, Jun 2, 2020 at 12:48 PM Bob Achgill 
<bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>> wrote:
>
> Aaron,
>
> Sounds different than the one you mentioned... simply because  I have to 
> reinstall the app to stop it from hanging playing videos after the 98ish 
> played videos.
>
> My "bug" is...
>
> 1)  happening on a Samsung S7 Active (Android 8.0.0) reading from a 200GB 
> extSD.  So not ... low end phone.
> 2)  Rebooting the app or the phone does not restore proper video play... only 
> reinstalling the app
> 3)  When video hangs... I see the video but it will not progress.
>
> Mine appears to be some cache filling up issue.  A cache that only gets 
> cleared when the app is deleted and reinstalled.  Is there such a cached?  If 
> so how can I programmatically flush that cache?
>
> What kind of data do you need from me?
>
> Thanks!
> Bob
>
>
>
> ________________________________
> From: mobile-firefox-dev 
> <mobile-firefox-dev-boun...@mozilla.org<mailto:mobile-firefox-dev-boun...@mozilla.org>>
>  on behalf of Aaron Klotz <akl...@mozilla.com<mailto:akl...@mozilla.com>>
> Sent: Tuesday, June 2, 2020 12:39 PM
> To: mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org> 
> <mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org>>
> Subject: Re: After watching 98 5 sec videos
>
> On 6/2/2020 9:34 AM, Bob Achgill wrote:
>
> After watching 98 5 sec videos all video watching hangs.  Stopping the app 
> and restarting does not help.  Only uninstalling and reinstalling the app 
> clears for watching another 98 videos.
>
> Is this expected?
>
>
> That sounds like a bug to me. We did triage this one recently: 
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.mozilla.org%2Fshow_bug.cgi%3Fid%3D1640369&amp;data=02%7C01%7C%7Ca8f63513e2bc4ca1f79608d80737106d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267280358298634&amp;sdata=qCWy6pMH2aveod9YttUXYI2m15IWO66STC%2FdG%2BeTVng%3D&amp;reserved=0<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.mozilla.org%2Fshow_bug.cgi%3Fid%3D1640369&data=02%7C01%7C%7Ce87037ac3f0249e41fe608d80741d638%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267326627895296&sdata=clJdrTsP%2BqCOYhYc%2B%2Fq3UxGUuGJBOaXT%2Ba%2F6EZbOYEA%3D&reserved=0>
>  -- does that look familiar at all?
> _______________________________________________
> mobile-firefox-dev mailing list
> mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org>
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.mozilla.org%2Flistinfo%2Fmobile-firefox-dev&amp;data=02%7C01%7C%7Ca8f63513e2bc4ca1f79608d80737106d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267280358298634&amp;sdata=mNUkiFD8cWbvRRBsdGzcwdckvKr%2BNy1v8G8ax9G6S%2Bs%3D&amp;reserved=0<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.mozilla.org%2Flistinfo%2Fmobile-firefox-dev&data=02%7C01%7C%7Ce87037ac3f0249e41fe608d80741d638%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267326627905290&sdata=7IEQ61Ws%2BqAv%2F9xn3oxkt9jsTQXHBXeo4IJXr26L794%3D&reserved=0>
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org>
https://mail.mozilla.org/listinfo/mobile-firefox-dev<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.mozilla.org%2Flistinfo%2Fmobile-firefox-dev&data=02%7C01%7C%7Ce87037ac3f0249e41fe608d80741d638%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267326627905290&sdata=7IEQ61Ws%2BqAv%2F9xn3oxkt9jsTQXHBXeo4IJXr26L794%3D&reserved=0>
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to