I'm trying to show this stream in my app using WKWebView, but the frame rate is less than 1 FPS. Stream is using webGL. When I open the same stream in Safari, it works beautifully. I'm planning to use SFSafariViewController and insert it as subview into my view. Is that possible? Do you think the performance will be better? Can my app get rejected because of doing so? Can editing client JavaScript improve performance?
Asked
Active
Viewed 3,197 times
1 Answers
3
I kept searching and I knew, that there must be somewhere some acceleration in WebView Config. Just allow inline media playback and enjoy speed. https://developer.apple.com/library/ios/documentation/WebKit/Reference/WKWebViewConfiguration_Ref/index.html#//apple_ref/doc/c_ref/WKWebViewConfiguration

Heisenbug
- 951
- 6
- 25
-
I have this set to true and my game is still twice as slow as native safari – Curtis May 07 '19 at 18:09