Bug 291641
| Summary: | Set serviceClass on WebRTC network connections | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Howard <jameshoward> |
| Component: | WebRTC | Assignee: | youenn fablet <youennf> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | jameshoward, sun.shin, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 18 | ||
James Howard
In Network.framework, the NWParameters.ServiceClass[^1] API can be used to enable cellular network slicing for different classes of network traffic. Like with DSCP marking for WiFi[^2], 5G cellular connection service class seems to be a good fit for WebRTC network connections where we know the type of content and latency requirements for it.
[^1] https://developer.apple.com/documentation/Network/NWParameters/serviceClass-swift.property?language=objc
[^2] https://github.com/WebKit/WebKit/blob/d2256c7cec01069651d6f9545f1fd59da0175661/Source/WebKit/NetworkProcess/webrtc/NetworkRTCUDPSocketCocoa.mm#L320
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/149874300>
youenn fablet
Pull request: https://github.com/WebKit/WebKit/pull/51868
EWS
Committed 301152@main (3bf07acdb9cc): <https://commits.webkit.org/301152@main>
Reviewed commits have been landed. Closing PR #51868 and removing active labels.