gree / gree/unity-webview

WebView video freeze

Open
#836 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

Hi, I'm try to use WebView Plugin for WebGL to play stream video, work fine in PC and Android, but in iOS the video is freeze, just like pause, try to call Reload() or Resume() doesn't work.

I didn't see any useful info in Xcode Device Monitor but these message:
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)}>
I don't know this message mean, could it is possible about this problem?

And in my code I set the "enableWKWebView:true" when call Init().

Unity : 2022.1.12f1
Using template : unity-webview-2020
iOS : 15.6.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WebView Plugin initialization using enableWKWebView:true and reproduce the freeze on iOS 15.6.1 with Unity 2022.1.12f1, checking the Xcode Device Monitor output. Compare the behavior of Reload() and Resume(); done means the stream video plays normally on iOS rather than remaining paused, with the entitlement message understood or ruled out.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, unity
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.