Changeset 208944 in webkit
- Timestamp:
- Nov 21, 2016 1:41:29 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r208943 r208944 1 2016-11-21 Philippe Normand <pnormand@igalia.com> 2 3 [WebRTC][OpenWebRTC] parse turns urls 4 https://bugs.webkit.org/show_bug.cgi?id=164587 5 6 Reviewed by Alejandro G. Castro. 7 8 * platform/mediastream/openwebrtc/MediaEndpointOwr.cpp: 9 (WebCore::MediaEndpointOwr::ensureTransportAgentAndTransceivers): 10 Hook turns servers between the RTCConfiguration and the underlying 11 OpenWebRTC layer. 12 1 13 2016-11-21 Philippe Normand <pnormand@igalia.com> 2 14 -
trunk/Source/WebCore/platform/mediastream/openwebrtc/MediaEndpointOwr.cpp
r208942 r208944 60 60 static const Vector<String> codecTypes = { "NONE", "PCMU", "PCMA", "OPUS", "H264", "VP8" }; 61 61 62 static const char* helperServerRegEx = "(turn |stun):([\\w\\.\\-]+|\\[[\\w\\:]+\\])(:\\d+)?(\\?.+)?";62 static const char* helperServerRegEx = "(turns|turn|stun):([\\w\\.\\-]+|\\[[\\w\\:]+\\])(:\\d+)?(\\?.+)?"; 63 63 64 64 static const unsigned short helperServerDefaultPort = 3478; … … 609 609 url.host.ascii().data(), port, 610 610 server.username.ascii().data(), server.credential.ascii().data()); 611 } else if (url.protocol == "turns") { 612 owr_transport_agent_add_helper_server(m_transportAgent, OWR_HELPER_SERVER_TYPE_TURN_TLS, 613 url.host.ascii().data(), port, 614 server.username.ascii().data(), server.credential.ascii().data()); 611 615 } else 612 616 ASSERT_NOT_REACHED();
Note: See TracChangeset
for help on using the changeset viewer.