confirmVerification(userCode)validates a manually entered SAS code.- Verification succeeds only after both local and remote confirmations are present.
- Protocol version
4.1is enforced during offer/answer processing.
- relay-only configuration sets WebRTC
iceTransportPolicyto"relay". - TURN availability is checked before claiming IP protection.
setFileTransferCallbacks(onProgress, onReceived, onError, onIncomingRequest)updates manager fields and any liveEnhancedSecureFileTransferinstance.- Passing
nullvalues detaches callbacks from the active transfer system.
sendFile(file, options)accepts an optionaloptionsobject.options.voice({ dur, bars }) marks the transfer as a voice note and rides along as unsigned metadata;options.uiIdcorrelates progress events to a UI bubble before thefileIdresolves.onProgressreceives{ fileId, uiId, direction, progress, isVoice, voice }.onIncomingFileRequestandonReceivedincludeisVoiceandvoiceso the UI can auto-accept and render a voice bubble instead of a file card.
- metadata is validated before prompting
- acceptance is explicit
- receive buffers are allocated only after consent
- file type acceptance is allowlist-based
- pending sender consent promises are rejected on cleanup
- consent timeouts are cleared immediately
- retained received buffers are bounded
- evicted download handles fail with a user-facing availability message
- metadata is encrypted before storage
- legacy plaintext records migrate lazily
- corrupted encrypted metadata is ignored safely