Type: IceServerConfiguration#

IceServerConfiguration: object

Optional STUN/TURN server URLs, credentials and ICE transport policy for the WebRTC streaming session.

Mirrors ragnarok’s IceServerConfiguration locally so the package’s public type surface does not import from @gamestream/ragnarok (a private-registry package consumers cannot resolve — it breaks tsc/ng build), and to insulate the public API from changes to the ragnarok type. Structurally identical to ragnarok’s definition, so values flow through to the streaming client unchanged. Built entirely on standard DOM lib types. See OMPE-101621 / NVBug 6462861.

Type declaration#

iceServers?#

optional iceServers: RTCIceServer[]

Optional list of ICE servers (STUN/TURN).

iceTransportPolicy?#

optional iceTransportPolicy: RTCIceTransportPolicy

Optional ICE transport policy for the WebRTC connection. Controls how ICE candidates are selected. Typed to "all" | "relay".