- From: Dominique Hazael-Massieux via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Sep 2024 15:26:51 +0000
- To: public-webrtc-logs@w3.org
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