The read-only RTCDataChannel property label returns a string containing a name describing the data channel.
RTCDataChannel
label
MDN Reference