If in a frame or iframe issues
Opened this issue · 3 comments
suoc commented
in iframe window obj,don't have any rtc api...............
suoc commented
Anybody alse knows this issue, help me please...
superdump commented
There is code in openwebrtc-ios-sdk that injects some simple JavaScript into the WebView which in turn makes an XHR request to a local http server that serves some more JavaScript that contains the WebRTC API implementation.
I would guess that an iframe has a separate JavaScript context and so this mechanism does not support iframes. I'm not sure how the WKWebView APIs work as to whether we could also support iframes.
@stefanalund @pererikb @Rugvip - any ideas?
choli commented
Is there any news about this?