new SessionInfo (rawSessionInfo)
Provides an interface around the raw session info from Anvil
Parameters:
Name | Type | Description |
---|---|---|
rawSessionInfo |
Object | The raw session info from Anvil |
Members
(readonly) clientCandidates :String|Undefined
clientCandidates can be "relay". Other values are unknown.
Type:
- String | Undefined
(readonly) e2ee :Boolean
Type:
- Boolean
(readonly) h264 :Boolean
Is true if H264 codec is enabled
Type:
- Boolean
(readonly) hybridSession :Boolean
Type:
- Boolean
(readonly) iceServers :Array
Type:
- Array
(readonly) isAdaptiveEnabled :Boolean
Type:
- Boolean
(readonly) mediaServerName :String
Type:
- String
(readonly) messagingServer :String
Type:
- String
(readonly) messagingURL :String
Type:
- String
(readonly) p2pEnabled :Boolean
Type:
- Boolean
(readonly) partnerId :String
Type:
- String
(readonly) priorityVideoCodec :String
If this contains a valid codec, it will be prioritized
Type:
- String
(readonly) reconnection :Boolean
Type:
- Boolean
(readonly) renegotiation :Boolean
Type:
- Boolean
(readonly) sessionId :String
Type:
- String
(readonly) simulcast :Boolean|Undefined
Simulcast is tri-state: * true - simulcast is on for this session *
false - simulcast is off for this session * undefined - the
developer can choose
Type:
- Boolean | Undefined
(readonly) singlePeerConnection :Boolean
Is true if SinglePeerConnection is enabled
Type:
- Boolean
(readonly) symphonyAddress :String
Type:
- String
(readonly) vp8 :Boolean
Is true if VP8 codec is enabled
Type:
- Boolean
(readonly) vp9 :Boolean
Is true if VP9 codec is enabled
Type:
- Boolean