| Summary: | CreatePeerConnection API cannot pass null server argument | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adam Tiamiou <adam.tiamiou> |
| Component: | Bindings | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | jonlee, youennf |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Adam Tiamiou
2015-04-22 21:46:16 PDT
Spec has changed a bit since this was first reported. Instead of doing "new RTCPeerConnection(servers, pcConstraint);", you might need to use https://www.w3.org/TR/webrtc/#dom-rtcconfiguration dictionary. That would end-up with something like: "new RTCPeerConnection({iceServers: servers, ... });" Also "servers" must use "urls" and not "url" as per https://www.w3.org/TR/webrtc/#dom-rtciceserver. |