Patch Changes
- Add token revocation timestamp to RemoveParticipant - #668 (@cnderrauber)
bump ffi bindings, includes rpc v2 support - #666 (@stephen-derosa)
Add method to query rtcStats on room via await room.getRtcStats() - #663 (@lukasIO)
Expose kindDetails on Participant and re-export the ParticipantKindDetail enum - #657 (@anunaym14)
feat: handle track republish - #660 (@davidzhao)
feat: add support for SimulateScenario - #659 (@davidzhao)
Bump @livekit/protocol to 1.45.6 and surface new fields on the agent dispatch and connector clients: - #657 (@anunaym14)
AgentDispatchClient.createDispatch: new restartPolicy option (cloud only)ConnectorClient.dialWhatsAppCall / acceptWhatsAppCall: new ringingTimeout option (and waitUntilAnswered on accept)ConnectorClient.disconnectWhatsAppCall: new optional disconnectReason parameterJobRestartPolicy and DisconnectWhatsAppCallRequest_DisconnectReasonAdd canManageAgentSession to VideoGrant - #661 (@theomonnom)
Remove FfiClient listener on failed connect to prevent leak - #652 (@LautaroPetaccio)
Add AbortSignal to waitFor() to clean up listeners on disconnect and send trailer on stream abort - #636 (@LautaroPetaccio)
Cancel losing timeout in AudioMixer race to prevent orphaned timers - #641 (@LautaroPetaccio)
Close in-progress stream controllers on room disconnect to prevent FD leaks - #633 (@LautaroPetaccio)
Deduplicate getSid() listeners to prevent event listener leak on concurrent calls - #635 (@LautaroPetaccio)
fix: ensure connection state of room is flipped after disconnecting - #653 (@lukasIO)
Dispose track publication FfiHandles on participant disconnect to prevent FD leaks - #634 (@LautaroPetaccio)
Release reader lock on stream completion and clear receivedChunks to prevent memory leak - #640 (@LautaroPetaccio)
Dispose native handles on audio/video stream EOS to prevent FD leaks - #637 (@LautaroPetaccio)
ensure userdata is passed through when resampling - #608 (@lukasIO)
Add typeguards for frame processors in order to avoid dual package hazard - #608 (@lukasIO)
Add close() method to AudioResampler to release native handle - #638 (@LautaroPetaccio)
Update FFI bindings to latest and import them as a direct dependency - #599 (@lukasIO)
Clear pending timeout in AudioSource.close() to prevent use-after-free - #639 (@LautaroPetaccio)
Add frame processor support for audio streams - #583 (@1egoman)
update rust ffi to 0.12.43 - #589 (@davidzhao)