A WebRTC DAT represents a peer on one end of any number of WebRTC peer-to-peer connections.
Each connection is represented in TouchDesigner by a generated UUID. The UUID must be passed to WebrtcDAT Class connection-level python methods.
The columns altogether describe the state of a connection and can also be useful for debugging. For example, if ice_connection_state failed then that means there's an issue pairing local and remote ICE candidates for streaming over the network. It could be that NAT traversal failed, and if using a STUN server that might indicate a need for a TURN server (see https://en.wikipedia.org/wiki/STUN#Limitations).
See also WebRTC.
Parameters - Connection Page
active - When active, can connect to peers and send media/data. When deactivated, all existing connections will be closed.
reset - Resets the peer associated with the DAT. Equivalent to deactivating then reactivating the active parameter.
Custom Bit Rate Limits
bitratelimits - When enabled, custom min/max bit rates can be specified. These max bit rate limits are expressed in kbps and apply to all tracks associated with the WebRTC DAT.
Minimum Bit Rate (kbps)
minbitrate - Minimum bit rate for all tracks associated with the WebRTC DAT.
Maximum Bit Rate (kbps)
maxbitrate - Maximum bit rate for all tracks associated with the WebRTC DAT.
callbacks - Reference to a DAT containing WebRTC callbacks.
Parameters - ICE Page
STUN Server URL
stun - URL of the STUN server. See WebRTC#ICE for more details regarding STUN.
username - Username for access to the specified TURN servers.
password - Password for access to the specified TURN servers.
TURN Server URL 0
turn0 - URL of the TURN server. See WebRTC#ICE for more details regarding TURN.
Parameters - Common Page
language - ⊞ - Select how the DAT decides which script language to operate on.
input- The DAT uses the inputs script language.
node- The DAT uses it's own script language.
extension - ⊞ - Select the file extension this DAT should expose to external editors.
dat- various common file extensions.
- From Language
languageext- pick extension from DATs script language.
- Custom Extension
customext- Specify a custom extension.
customext - Specifiy the custom extension.
wordwrap - ⊞ - Enable Word Wrap for Node Display.
input- The DAT uses the inputs setting.
on- Turn on Word Wrap.
off- Turn off Word Wrap.