TTMSFNCWXCustomWebRTCCommunication.AddDataChannel Method
Adds a data channel to the specified peer connection.
API unit family: TMSFNCWXWebRTC
Declaring type: TTMSFNCWXCustomWebRTCCommunication
Syntax
function AddDataChannel(AID: string; AName: string): TTMSFNCWXWebRTCDataChannel;
Parameters
| Name | Description |
|---|---|
AID |
The peer connection identifier. |
AName |
The data channel name. |
Returns
The newly created data channel configuration item.