File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ static NetworkProtocol()
5353 NetworkProtocol . Register < DnsAddrNetworkProtocol > ( ) ;
5454 NetworkProtocol . Register < WssNetworkProtocol > ( ) ;
5555 NetworkProtocol . Register < IpcidrNetworkProtocol > ( ) ;
56+ NetworkProtocol . Register < WebRtcDirectNetworkProtocol > ( ) ;
5657 }
5758
5859 /// <summary>
@@ -434,6 +435,12 @@ internal class QuicV1NetworkProtocol : ValuelessNetworkProtocol
434435 public override uint Code => 465 ;
435436 }
436437
438+ internal class WebRtcDirectNetworkProtocol : ValuelessNetworkProtocol
439+ {
440+ public override string Name => "webrtc-direct" ;
441+ public override uint Code => 280 ;
442+ }
443+
437444 internal class WebTransportNetworkProtocol : ValuelessNetworkProtocol
438445 {
439446 public override string Name => "webtransport" ;
You can’t perform that action at this time.
0 commit comments