HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - RTCTransport\_2.createDataChannel()

Home > @rainway/web > RTCTransport_2 > createDataChannel

RTCTransport_2.createDataChannel() method

Signature:

createDataChannel(label: string, mode: DataChannelMode): Promise<void>;

Parameters

ParameterTypeDescription
labelstring
modeDataChannelMode

Returns:

Promise<void>