The WebRTC Remote Panel Receiver COMP is a component that can be used to receive a TouchDesigner COMP's panel over a WebRTC connection from a matching WebRTC Remote Panel.
It requires a Palette:signalingClient COMP connected to a supported Palette:signalingServer COMP.
Before getting started with WebRTC, it is highly recommended to give a read to the introduction available on MDN web docs.
To get a better understanding of what is WebRTC in TouchDesigner, it is recommended to have a look at the WebRTC page and the webRTC COMP page.
The receiving end of the connection should be a WebRTC Remote Panel Receiver COMP or a web page designed to receive a WebRTC stream and a signaling client supporting TouchDesigner' Signaling API and signalingServer COMP.
Follow the setup guidelines from the page WebRTC Remote Panel COMP for a quick start.
This component can be replaced by a web page designer to receive a WebRTC stream and a signaling client supporting TouchDesigner' Signaling API and signalingServer COMP. A web based demo is available in the following repository as well as an online demo following this link.
Parameters - WebRTC Panel Receiver Page
Active - Start or stop the webRTCPanelRcv.
Client - The client exposed by the signalingClient that you wish to connect with. Note: If a client is on the signaling session but not a webRTCPanel, connecting could potentially fail.
Connect - Connect to the remote webRTCPanel.
Signalingclient - The signaling client with which this WebRTC COMP will subscribe to send or receive signaling messages.
STUN Server URL
Stun - URL of the STUN server.
TURN Server URL
Turn0 - URL of the TURN server. See WebRTC#ICE for more details regarding TURN.
Username - Username for access to the specified TURN servers.
Password - Password for access to the specified TURN servers.
Reset - Reset the WebRTC COMP states and kill all ongoing peer connections.
Signaling API Version
Signalingapiversion - The Signaling API version. When a signaling client is being used, the API versions of both the server and client should match.
Parameters - Logger Page
Enablelogging - Enable advanced logging features. Useful to debug and track the Signaling Server activity.
Log to File
Logtofile - When enabled, logging messages will be written to a time rotated log file.
Logfolder - Path to the folder in which the log files should be written.
Filerotation - Number of backup files to be kept when rotating log.
Log to Textport
Logtotextport - When enabled, logging messages will be displayed in the textport.
Log to Status Bar
Logtostatusbar - When enabled, logging messages will be displayed in the status bar.
Loglevel - ⊞ - Filter level of logging messages. The selected level is included as well as all levels above. I.e. if Warning is selected, Warning and Error messages will be included while Info messages will be excluded.
Parameters - About Page
Help - Open Help page in external browser.
Version - The component version number.
.tox Save Build
Toxsavebuild - The TouchDesinger build in which the component was last exported from.
- Output 0 -