Releases: livekit/components-android
v2.1.1
v2.1.0
v2.0.0
Major Changes
-
Compose depends on the timing of reads of
Stateobjects to determine whether it is a dependency for certain - #50 (@davidliu)
use cases, such as when usingderivedStateOforsnapshotFlow. When we pass back state values, these timings
can be disassociated from their usage, causing Compose to not register the states appropriately and not update
when the state value changed.To address this, we've changed the return values of simple functions like
rememberConnectionStateto return
Stateobjects instead of the values directly. This means that their reads will be more closely aligned with
their usages and prevent issues with Compose not updating appropriately.To migrate, switch to using the
bydelegate syntax when declaring an object to hold the state:val connectionState by rememberConnectionState()In places where we return data objects to hold multiple values (such as
rememberRoomInfo), we've kept the API
to return values, as these have been converted to be delegates to the state objects backing them.
Minor Changes
Patch Changes
v1.4.0
Minor Changes
-
Add disconnectOnDispose argument to RoomScope and rememberLiveKitRoom - #40 (@davidliu)
-
Add rendererType parameter for VideoTrackView to allow choosing between Surface and Texture implementations - #44 (@davidliu)
-
Added AudioVisualizer to allow for visualizations other than BarVisualizer - #45 (@davidliu)
Patch Changes
v1.3.1
v1.3.0
v1.2.0
v1.1.1
What's Changed
- Mark appropriate classes as
@Stableor@Immutableby @davidliu in #11 - Properly copy e2ee options into Room by @davidliu in #12
- Release managed room when rememberLiveKitRoom leaves composition by @davidliu in #13
- RoomScope: disconnect on connect = false by @davidliu in #14
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- Update livekit sdk to 2.2.0 by @davidliu in #9
- Add rememberTrackMuted state function by @davidliu in #7
- Add rememberParticipantTrackReferences state function by @davidliu in #8
- Change TrackIdentifier.getTrackPublication() into publication variable by @davidliu in #9
- Change RoomInfo into returning the raw values rather than the state object by @davidliu in #9
Full Changelog: v1.0.0...v1.1.0