[Webkit-unassigned] [Bug 189503] RTCDataChannel seems broken on iOS 11/12

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 26 11:40:22 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=189503

--- Comment #2 from Chad Phillips <webkit at xylil.com> ---
I can confirm that the following examples work after issuing a getUserMedia() request:

 - https://webrtc.github.io/samples/src/content/datachannel/basic/
 - https://webrtc.github.io/samples/src/content/datachannel/filetransfer/
 - https://webrtc.github.io/samples/src/content/datachannel/datatransfer/

The https://webrtc.github.io/samples/src/content/datachannel/messaging/ example doesn't work, throwing the following error:

[Error] Unhandled Promise Rejection: Error: render() not implemented
        update (lit-element.js:18)
        _validate (updating-element.js:362)
        (anonymous function) (updating-element.js:344)
        asyncFunctionResume
        (anonymous function)
        promiseReactionJob

Just so others are clear, the process to get code that uses local ICE candidates working on iOS is:

1. Set up the iOS device to connect to the Safari web inspector on an OS X machine: https://developer.apple.com/library/archive/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html
2. Open the example in Safari on iOS, but don't execute it yet
3. Open the web inspector for that page in the web inspector on the OS X device.
4. Go to the 'Console' tab
5. At the very bottom of the console there is a place to enter commands, fire off a getUserMedia() request from here: navigator.mediaDevices.getUserMedia({audio: true, video: true});
6. Accept the media device permissions request on the iOS Safari page.
7. Run the example code, and it should now have access to the local ICE candidates.

@youenn, thanks for pointing this out. It would be nice if this was a bit easier, or at least some intelligible error was thrown to inform the user about the issue and a possible workaround.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180926/c8af440b/attachment.html>


More information about the webkit-unassigned mailing list