File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1895,7 +1895,7 @@ type ICECandidateStats struct {
1895
1895
//
1896
1896
// DEPRECATED. Although it may still work in some browsers, the networkType property was deprecated for
1897
1897
// preserving privacy.
1898
- NetworkType string `json:"networkType,omitempty"`
1898
+ NetworkType NetworkType `json:"networkType,omitempty"`
1899
1899
1900
1900
// IP is the IP address of the candidate, allowing for IPv4 addresses and
1901
1901
// IPv6 addresses, but fully qualified domain names (FQDNs) are not allowed.
Original file line number Diff line number Diff line change @@ -804,7 +804,7 @@ func getStatsSamples() []statSample {
804
804
Type : StatsTypeLocalCandidate ,
805
805
ID : "ILO8S8KYr" ,
806
806
TransportID : "T01" ,
807
- NetworkType : "wifi" ,
807
+ NetworkType : NetworkTypeUDP4 ,
808
808
IP : "192.168.0.36" ,
809
809
Port : 65400 ,
810
810
Protocol : "udp" ,
@@ -820,7 +820,7 @@ func getStatsSamples() []statSample {
820
820
"type": "local-candidate",
821
821
"id": "ILO8S8KYr",
822
822
"transportId": "T01",
823
- "networkType": "wifi" ,
823
+ "networkType": 1 ,
824
824
"ip": "192.168.0.36",
825
825
"port": 65400,
826
826
"protocol": "udp",
You can’t perform that action at this time.
0 commit comments