Firefox Tomorrow

web api instance property

RTCDataChannelStats: label property

View on MDN ↗

The label property of the RTCDataChannelStats dictionary returns the label of the associated data channel.

The value of the label need not be unique, and its meaning is defined by the website or app when it creates the data channel.

Value

A string containing the same value as the label property of the associated data channel.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also