String::Number(inspector_id_),String::Number(inspector_id_) this conversion is not needed. Just inspector_id_.
Here and elsewhere.
scope.GetExecutionContext(), udp_socket, /*inspector_id=*/12345);Why not just 0? To prevent people asking about meaning of this number.
"--enable-features=IsolatedWebApps,IsolatedWebAppDevMode,MulticastInDirectSockets,DirectSocketsInServiceWorkers,DirectSocketsInSharedWorkers"Not needed. Multicast is enabled by default.
header("Permissions-Policy: direct-sockets=(self)");More permissions policies are needed: direct-sockets-private, direct-sockets-multicast.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
const uint64_t inspector_id_;Copy please comment from udp socket what is this inspector_id_
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
String::Number(inspector_id), ipAddress);Why inspector_id is passed not like in other functions?
IdentifiersFactory::SubresourceRequestId(identifier)