Data channel associated with the event.
OptionaldataReceived message data for message events.
OptionalerrorError object containing details about the error for error events.
OptionalinfoOptional additional information associated with the message event.
Label of the data channel.
Name of the event.
Peer object containing connection details.
Emitted when a data channel is created or received from a peer, when a data channel is opened or closed, when a message is received on a data channel, or when an error occurs.