Re: [webrtc-pc] Revert integration of URL parser for ICE servers from Recommendation text (#2997)

If I read the following libwebrtc code correctly, indeed:
```cpp
  std::vector<absl::string_view> tokens = rtc::split(url, '?');
  absl::string_view uri_without_transport = tokens[0];
  // Let's look into transport= param, if it exists.
  if (tokens.size() == kTurnTransportTokensNum) {  // ?transport= is present.
    std::vector<absl::string_view> transport_tokens =
        rtc::split(tokens[1], '=');
    if (transport_tokens[0] != kTransport) {
```
(`transport_tokens[0]` would be `"&transport"`, when `kTransport` is `"transport"`)

-- 
GitHub Notification of comment by dontcallmedom
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2997#issuecomment-2326814978 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 3 September 2024 15:26:52 UTC