Skip to main content
Table of Contents

TTMSFNCWXWebRTCPeer.AddDataChannel Method

Creates a data channel with the given name on this connection and returns its configuration entry.

API unit family: TMSFNCWXWebRTC Declaring type: TTMSFNCWXWebRTCPeer

Syntax

FMX.TMSFNCWXWebRTC.hppPascalC++
function AddDataChannel(AName: string): TTMSFNCWXWebRTCDataChannel;
TTMSFNCWXWebRTCDataChannel* __fastcall AddDataChannel(System::UnicodeString AName);

Parameters

Name Description
AName The name of the channel to create.

Returns

The data channel configuration entry.