v2.0.0
2.0.0
Breaking Changes
There are several breaking changes between v1 and v2. Please consult our migration guide when upgrading to v2.
Room.participantswas renamed toRoom.remoteParticipantsRoom.{audio/video}Trackswas renamed toRoom.{audio/video}TrackPublicationsLocalParticipant.publishDatanow uses participant identity as destinations instead of participant sids.Room.sidnow changed toawait room.getSid();.- Removed
VideoQuality.OFFfromVideoQualityenum.
Removal of previously deprecated APIs
LiveKitClient.connect- Please usevar room = Room(...)androom.connectinstead.track in TrackMutedEvent/TrackUnmutedEvent- UsepublicationinsteadTrackStreamStateUpdatedEvent.trackPublication- UseTrackStreamStateUpdatedEvent.publicationinsteadRemotePublication.videoQuality- UseRemotePublication.setVideoQuality(quality)insteadRemotePublication.subscribed- UseRemotePublication.subscribe()orunsubscribe()insteadRemotePublication.enabled- UseRemotePublication.enable()ordisable()insteadParticipant.unpublishTrack- UseParticipant.removePublishedTrackinstead- Removed
AudioPublishOptions.stopMicTrackOnMute
Other changes
- Do not emit Reconnecting event during connection resume. (#459)
- Cleanup when remove remote participants. (#460)
- Support change key index for encryptors. (#457)
- Bug fixes for e2ee (Web/Firefox). (#453)
- Add lost quality (Protocol v11). (#443)
- [E2EE] Add key handler for web worker. (#449)
- E2EE improvement. (#461)
What's Changed
- Remove deprecated APIs. by @cloudwebrtc in #429
- Change publishData signature. by @cloudwebrtc in #436
- Rename some parameters. by @cloudwebrtc in #435
- Use enum VideoQuality/TrackType without exporting PBType. by @cloudwebrtc in #444
- support sync streams (Protocol V10). by @cloudwebrtc in #445
- add lost quality (Protocol v11). by @cloudwebrtc in #443
- rename participant.{audio,video}Tracks => participant.{audio,video}TrackPublications. by @cloudwebrtc in #447
- async get room sid (Protocol v12). by @cloudwebrtc in #446
- Add NOTICE by @dsa in #451
- link homepage to github repo. by @cloudwebrtc in #450
- update Copyright 2023 => 2024. by @cloudwebrtc in #452
- [E2EE] add key handler for web worker. by @cloudwebrtc in #449
- [🤖 readme-manager] Update README by @Ocupe in #454
- bug fixes for e2ee (Web/Firefox). by @cloudwebrtc in #453
- Support change key index for encryptors. by @cloudwebrtc in #457
- Do not emit Reconnecting event during the connection resume. by @cloudwebrtc in #459
- cleanup when remove remote participants. by @cloudwebrtc in #460
- E2EE improvement. by @cloudwebrtc in #461
- v2 README changes. by @cloudwebrtc in #462
- release: 2.0.0. by @cloudwebrtc in #464
New Contributors
Full Changelog: v1.5.6...v2.0.0