CloudXR.js API Reference#
API reference documentation for the CloudXR.js SDK, automatically generated from TypeScript source.
For user guides, tutorials, and integration documentation, see the CloudXR SDK Documentation.
- Function: createSession()
- Function: getGridValidationError()
- Function: getGridValidationMessageForConnect()
- Function: getResolutionValidationError()
- Function: getResolutionValidationMessageForConnect()
- Function: validateDepthReprojectionGrid()
- Function: validatePerEyeResolution()
- Interface: GridValidationResult
- Interface: LogEntry
- Interface: MessageChannel
- Interface: PerEyeResolutionValidationResult
- Interface: Session
- Interface: SessionDelegates
- Interface: SessionOptions
- Example
- Properties
- serverAddress
- serverPort
- useSecureConnection
- mediaAddress?
- mediaPort?
- sessionId?
- signalingQueryParameters?
- signalingResourcePath?
- signalingHeaders?
- clientToken?
- gl
- perEyeWidth
- perEyeHeight
- reprojectionGridCols?
- reprojectionGridRows?
- referenceSpace
- glBinding?
- codec?
- deviceFrameRate?
- maxStreamingBitrateKbps?
- logLevel?
- telemetry?
- enablePoseSmoothing?
- posePredictionFactor?
- enableTexSubImage2D?
- useQuestColorWorkaround?
- iceServers?
- streamTest?
- Interface: StreamTestResult
- Interface: StreamingError
- Enumeration: LogLevel
- Enumeration: MessageChannelStatus
- Enumeration: MetricsCadence
- Enumeration: MetricsName
- Enumeration Members
- RenderFramerate
- PoseSendFramerate
- PoseToRenderTime
- StreamingFramerate
- StreamingFrameCount
- LatencyPoseUploadMs
- LatencyPoseToFrameReceivedMs
- LatencyXrPoseAgeMs
- NetworkStreamingRateMbps
- NetworkAvailableBandwidthMbps
- NetworkRttMs
- NetworkPacketLoss
- NetworkAvgDecodeTimeMs
- NetworkQualityScore
- NetworkBandwidthScore
- NetworkLossScore
- NetworkLatencyScore
- FramePipelineCompositorSkippedPercent
- FramePipelineOutOfOrderPercent
- FramePipelineMismatchedPercent
- SessionQuality
- Enumeration Members
- Enumeration: MicState
- Enumeration: QualityScore
- Enumeration: SessionState
- Type Alias: Metrics