News for hackers. Stuff that matters.
Re:On the Road to WebRTC 1.0, Including VP8 by untog on Tuesday March 12, 2019 @04:34PM (#19372727)
There is everything stopping you. WKWebView runs in its own process and has very limited options for integrating native code.
Re:On the Road to WebRTC 1.0, Including VP8 by JimDabell on Tuesday March 12, 2019 @04:45PM (#19372833)
The model I was thinking of was native code in the native app, injected polyfill that talks to the native code over a message bus. The native code can draw over the top of the web view and pass messages in. Is there anything in particular stopping that?
Re:On the Road to WebRTC 1.0, Including VP8 by Klathmon on Tuesday March 12, 2019 @11:56PM (#19375588)
I believe the problem is the "message bus" is pretty slow, and has pretty limited throughput, especially for something like audio and video.
Re:On the Road to WebRTC 1.0, Including VP8 by SahAssar on Tuesday March 12, 2019 @07:09PM (#19374015)
IIRC that is exactly what ericsson did, they made a iOS browser that allowed webrtc years before apple by adding functionality to webviews.