Table of Contents

TTMSFNCWXCustomWebRTCCommunication Class

Base WebRTC communication control that manages media capture, peer connections, signaling events, and data channels.

API unit family: TMSFNCWXWebRTC Inherits from: TTMSFNCCustomWEBControl

Syntax

TTMSFNCWXCustomWebRTCCommunication = class(TTMSFNCCustomWEBControl)

Methods

Name Description
AcceptAnswer Accepts a remote answer for the specified peer connection.
AcceptOffer Accepts a remote offer for the specified peer connection and prepares a local answer.
AddDataChannel Adds a data channel to the specified peer connection.
AddIceCandidate Adds a remote ICE candidate to the specified peer connection.
AddPeerConnection Adds a peer connection and creates its browser-side video surface.
CloseConnection Closes the peer connection with the specified identifier.
CreateOffer Creates a local offer for the peer connection with the specified identifier.
RemovePeerConnection Removes the peer connection with the specified identifier.
RequestDevices Requests browser permission and enumerates available media devices.
RequestDisplay Requests display capture from the browser.
RequestUserMedia Requests local media capture using the configured video settings.
RestartIce Restarts ICE negotiation for the specified peer connection.
SendData Sends a text message over a data channel of the specified peer connection.