Web SDK - RTCTransport\_2.createDataChannel()

Home > rainway-sdk > RTCTransport_2 > createDataChannel

RTCTransport_2.createDataChannel() method

Signature:

createDataChannel(label: string, mode: RainwayChannelMode): RTCDataChannel | undefined;

Parameters

ParameterTypeDescription
labelstring
modeRainwayChannelMode

Returns:

RTCDataChannel | undefined