Skip to content

RtcStunUrl

HTTP API schema

RtcStunUrl fields

(payload)string

Public, credential-free STUN URI using the RFC 7064 stun:host[:port] form. This version supports DNS names and IPv4 hosts, with ports 1 through 65535. IPv6 literals, secure STUN, TURN, paths, queries and fragments are not supported by this configuration subset.

minLength: 6

maxLength: 256

pattern: "^stun:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?)*(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$"

View source specification ↗