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

If in a frame or iframe issues #92

Open
suoc opened this issue Aug 4, 2016 · 3 comments
Open

If in a frame or iframe issues #92

suoc opened this issue Aug 4, 2016 · 3 comments

Comments

@suoc
Copy link

suoc commented Aug 4, 2016

in iframe window obj,don't have any rtc api...............

@suoc suoc changed the title If in a frame or If in a frame or iframe issues Aug 4, 2016
@suoc
Copy link
Author

suoc commented Aug 5, 2016

Anybody alse knows this issue, help me please...

@superdump
Copy link
Contributor

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
Copy link

choli commented Sep 7, 2016

Is there any news about this?

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

No branches or pull requests

3 participants