Node.js SDK - PeerEvents.datachannel

Home > @rainway/native > PeerEvents > datachannel

PeerEvents.datachannel property

Raised when the remote peer creates a data channel.

Signature:

datachannel: (ev: DataChannelEvent) => EventReturnType;