Link Search Menu Expand Document

Constructor: phoneConnectionWebrtc

Back to constructors index

WebRTC connection parameters

Attributes:

NameTypeRequiredDescription
turnBoolOptionalWhether this is a TURN endpoint
stunBoolOptionalWhether this is a STUN endpoint
idlongYesEndpoint ID
ipstringYesIP address
ipv6stringYesIPv6 address
portintYesPort
usernamestringYesUsername
passwordstringYesPassword

Type: PhoneConnection

Example:

$phoneConnectionWebrtc = ['_' => 'phoneConnectionWebrtc', 'turn' => Bool, 'stun' => Bool, 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'username' => 'string', 'password' => 'string'];