Page 1 of 1

FireOS Progress

Posted: 28 Aug 2016, 14:24
by davilla
Fixed video playback stopping when pushed to background and restored to foreground. Video now resumes even when using MediaCodec surface.

Fixed music playback when Alexa speaks. Music continues after transient loss.

Fixed audio stutter issues under passthrough.

Re: FireOS Progress

Posted: 28 Aug 2016, 18:18
by cosmoxl
davilla wrote:Fixed video playback stopping when pushed to background and restored to foreground. Video now resumes even when using MediaCodec surface.

Fixed music playback when Alexa speaks. Music continues after transient loss.

Fixed audio stutter issues under passthrough.
:)

Re: RE: FireOS Progress

Posted: 28 Aug 2016, 19:43
by koying
davilla wrote:Fixed video playback stopping when pushed to background and restored to foreground. Video now resumes even when using MediaCodec surface
Eager to see that one :)

Re: RE: FireOS Progress

Posted: 28 Aug 2016, 20:16
by davilla
koying wrote:
davilla wrote:Fixed video playback stopping when pushed to background and restored to foreground. Video now resumes even when using MediaCodec surface
Eager to see that one :)
Two days of trying various things that did not work right and much hair loss :)

Re: FireOS Progress

Posted: 28 Aug 2016, 22:55
by koying
Just as a hint: did you succeed in circumventing the android limitation, or did you implement some kind of state saving in mrmc ?

Re: FireOS Progress

Posted: 28 Aug 2016, 23:33
by davilla
koying wrote:Just as a hint: did you succeed in circumventing the android limitation, or did you implement some kind of state saving in mrmc ?
You can't circumvent stopping video when pushed into background. In iOS/tvOS either. You could, at any point, get suspended (a real process suspend under iOS/tvOS) so you have to release player resources. MrMC remembers what it was doing and returns to it. Sort of a work in progress with various bits stuffed into place. The final solution will expand core player to handled being pushed and popped :)

Re: FireOS Progress

Posted: 29 Aug 2016, 08:46
by koying
Player is one thing, but do not forget playlists and gui, which is the tricky part, really, when resuming.

I had an internal chat regarding this possibility back in the days. I just went the easy way and prioritize the non-surface ;)

Re: FireOS Progress

Posted: 29 Aug 2016, 13:59
by davilla
koying wrote:Player is one thing, but do not forget playlists and gui, which is the tricky part, really, when resuming.

I had an internal chat regarding this possibility back in the days. I just went the easy way and prioritize the non-surface ;)
Of course, but I'm also not concerned about changing core to fit the needs of MrMC :)

This implementation serves two purposes, 1) resolve the problem with Alexa (voice) searches when playing video. 2) explore and uncover other issues. In Kodi, they like complete, finished solutions. As can be seen by the massive amount of PRs that just sit and rot. Here at MrMC, we dance to a different tune and while complete solutions are nice. Sometimes, one just has to push something out and see what issues develop and deal with them.