Table of Contents

TTMSFNCWXCustomWebRTCCommunication.AddPeerConnection Method

Adds a peer connection and creates its browser-side video surface.

API unit family: TMSFNCWXWebRTC Declaring type: TTMSFNCWXCustomWebRTCCommunication

Syntax

function AddPeerConnection(AID: string; AHTML: string; ACSS: string = ''): TTMSFNCWXWebRTCPeer;

Parameters

Name Description
AID The identifier used for signaling and data routing.
AHTML HTML content for the peer video surface.
ACSS Optional CSS content for the peer video surface.

Returns

The newly created peer connection item.