RTCDataChannelStats: messagesReceived property
        
        
          Limited availability
        
        
        
          
                
              
                
              
                
              
        
        
      
      This feature is not Baseline because it does not work in some of the most widely-used browsers.
The messagesReceived property of the RTCDataChannelStats dictionary returns the total number of message events fired for received messages on the associated RTCDataChannel.
Value
A positive integer value indicating the total number of message events for inbound data on the associated data channel.
Specifications
| Specification | 
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcdatachannelstats-messagesreceived>  | 
            
Browser compatibility
Loading…