default: { connection: ((signalingUrlCandidates,
debug?) => SoraConnection); helpers: { applyMediaStreamConstraints: ((mediaStream,
constraints) => Promise<void>); }; initE2EE: ((wasmUrl) => Promise<void>); version: (() => string); } Type declaration
connection: ((signalingUrlCandidates, debug?) => SoraConnection)
- (signalingUrlCandidates, debug?): SoraConnection
Parameters
- signalingUrlCandidates: string | string[]
- debug: boolean = false
helpers: {
applyMediaStreamConstraints: ((mediaStream, constraints) => Promise<void>);
}
applyMediaStreamConstraints: ((mediaStream, constraints) => Promise<void>)
- (mediaStream, constraints): Promise<void>
Parameters
- mediaStream: MediaStream
- constraints: MediaStreamConstraints
Returns Promise<void>
initE2EE: ((wasmUrl) => Promise<void>)
- (wasmUrl): Promise<void>
Returns Promise<void>
version: (() => string)
Sora JS SDK package