Back to Content

RTCPeerConnectionStats: dataChannelsOpened property

files/en-us/web/api/rtcpeerconnectionstats/datachannelsopened/index.md

latest589 B
Original Source

{{APIRef("WebRTC")}}

The dataChannelsOpened property of the {{domxref("RTCPeerConnectionStats")}} dictionary indicates the number of unique {{domxref("RTCDataChannel")}} objects that have entered the open state during their lifetime.

Value

A positive integer that indicates the number of unique {{domxref("RTCDataChannel")}} objects that have entered the open state during their lifetime.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}