RTCDataChannelStats: type property
        
        
          Limited availability
        
        
        
          
                
              
                
              
                
              
        
        
      
      This feature is not Baseline because it does not work in some of the most widely-used browsers.
The type property of the RTCDataChannelStats dictionary is a string with the value "data-channel".
Different statistics are obtained by iterating the RTCStatsReport object returned by a call to RTCPeerConnection.getStats().
The type indicates the set of statistics available through the object in a particular iteration step.
A value of "data-channel" indicates that the statistics available in the current step are those defined in RTCDataChannelStats.
Value
A string with the value "data-channel".
Specifications
| Specification | 
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcstats-type>  | 
            
Browser compatibility
Loading…