Skip to content

Releases: livekit/components-android

v2.1.1

28 Nov 11:00
b7e1c6a

Choose a tag to compare

Patch Changes

v2.1.0

18 Nov 11:04
3c228e8

Choose a tag to compare

Minor Changes

  • Change the LocalMedia API to use setEnabled rather than start/stop methods to make clear that they are idempotent. - #52 (@davidliu)

Patch Changes

  • Remove Immutable annotation from TrackReference as the contained objects are not immutable - #52 (@davidliu)

  • Fix rememberLiveKitRoom disabling audio/video if enabled from outside the composable - #52 (@davidliu)

  • Fix isDeviceEnabled states not properly updating - #52 (@davidliu)

v2.0.0

18 Nov 09:17
df618f2

Choose a tag to compare

Major Changes

  • Compose depends on the timing of reads of State objects to determine whether it is a dependency for certain - #50 (@davidliu)
    use cases, such as when using derivedStateOf or snapshotFlow. 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 rememberConnectionState to return
    State objects 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 by delegate 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

  • Fix RememberParticipantTrackReferences returning a new flow every recomposition - #50 (@davidliu)

  • rememberLiveKitRoom: Only disconnect Room if it has connected before to manage the connection - #50 (@davidliu)

  • rememberLiveKitRoom: Don't require local context if room is passed - #50 (@davidliu)

v1.4.0

11 Jul 16:56
e9d2ad5

Choose a tag to compare

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

  • Update noise lib to use a 16KB aligned version - #45 (@davidliu)

  • Update livekit android sdk to 2.18.3 - #45 (@davidliu)

v1.3.1

01 Apr 14:46
13f66c0

Choose a tag to compare

Patch Changes

  • Update for use with LiveKit Android SDK 2.14.0 - #38 (@davidliu)

v1.3.0

07 Oct 14:24
5eeb814

Choose a tag to compare

Minor Changes

  • Add AudioBarVisualizer for audio waveform visualizations - #32 (@davidliu)

  • Add rememberConnectionState and rememberVoiceAssistant - #30 (@davidliu)

Patch Changes

  • Fix local participant sometimes publishing multiple of local tracks when using RoomScope with audio/video = true - #33 (@davidliu)

v1.2.0

16 Sep 04:46
5f362a9

Choose a tag to compare

Minor Changes

  • Add rememberTranscriptions - #25 (@davidliu)

  • Update LiveKit Android SDK to 2.8.1 - #26 (@davidliu)

  • Add rememberEventSelector implementations for other types of events (e.g. ParticipantEvent, TrackEvent) - #25 (@davidliu)

Patch Changes

  • Fix rememberTrackReferences/ParticipantTrackReferences not updating when track subscribed - #24 (@davidliu)

v1.1.1

01 Apr 13:18

Choose a tag to compare

What's Changed

  • Mark appropriate classes as @Stable or @Immutable by @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

27 Mar 17:11
949bcce

Choose a tag to compare

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

v1.0.0

26 Feb 05:08

Choose a tag to compare

Initial release