Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video playing in background iOS #195

Closed
WaliKhan181 opened this issue Apr 16, 2020 · 3 comments
Closed

Video playing in background iOS #195

WaliKhan181 opened this issue Apr 16, 2020 · 3 comments
Labels
question Further information is requested

Comments

@WaliKhan181
Copy link

WaliKhan181 commented Apr 16, 2020

Whenever the webview is loaded this error occurs and if I navigate away from the video this shows up again and video keeps playing even though dispose is being called.
2020-04-16 13:22:45.760918+0500 JFA[4219:2082584] [assertion] Error acquiring assertion: <NSError: 0x283a1cf90; domain: RBSAssertionErrorDomain; code: 2; reason: "Client is missing required entitlement"> {

userInfo = {

    RBSAssertionAttribute = <RBSLegacyAttribute: 0x14bd666a0; requestedReason: MediaPlayback; reason: MediaPlayback; flags: PreventTaskSuspend | PreventTaskThrottleDown | WantsForegroundResourcePriority>;

}

}

2020-04-16 13:22:45.760968+0500 JFA[4219:2082584] [ProcessSuspension] 0x114edbc78 - ProcessAssertion() PID 4219 Unable to acquire assertion for process with PID 4219

2020-04-16 13:22:45.760998+0500 JFA[4219:2081609] [ProcessSuspension] 0x114edbc78 - ProcessAssertion::processAssertionWasInvalidated()

2020-04-16 13:22:45.762338+0500 JFA[4219:2082584] [assertion] Error acquiring assertion: <NSError: 0x283a1d830; domain: RBSAssertionErrorDomain; code: 2; reason: "Client is missing required entitlement"> {

userInfo = {

    RBSAssertionAttribute = <RBSLegacyAttribute: 0x14be5c740; requestedReason: MediaPlayback; reason: MediaPlayback; flags: PreventTaskSuspend | PreventTaskThrottleDown | WantsForegroundResourcePriority>;

}

}

2020-04-16 13:22:45.762367+0500 JFA[4219:2082584] [ProcessSuspension] 0x114edbcc8 - ProcessAssertion() PID 4219 Unable to acquire assertion for process with PID 4226

Flutter Version 1.9.1+hotfix.6
Youtube_Player_Flutter Version 6.0.3+2

@sarbagyastha
Copy link
Owner

Can you test if the behavior is same on example app ?

@sarbagyastha sarbagyastha added the question Further information is requested label Apr 17, 2020
@WaliKhan181
Copy link
Author

Sorry couldn't check it today, will test it over the weekend and get back to you ASAP.

@NestorBurma1
Copy link

I have the same problem for a long time on Android. In my case I use
Navigator.pushReplacement instead of Navigator.push.
And video stops playing when navigate to other page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants