Skip to content

Latest commit

 

History

History
182 lines (97 loc) · 8.55 KB

File metadata and controls

182 lines (97 loc) · 8.55 KB

components-android

2.4.1

Patch Changes

2.4.0

Minor Changes

  • Add passing in end-to-end encryption options to rememberSession through SessionOptions - #77 (@davidliu)

Patch Changes

2.3.0

Minor Changes

2.2.1

Patch Changes

2.2.0

Minor Changes

  • Add new state getters to the Agent interface - #62 (@davidliu)

    • isConnected (replacing isAvailable)
    • canListen
    • isFinished
    • isPending

Patch Changes

  • Remove @Beta annotation from BarVisualizer related composables - #62 (@davidliu)

  • Mark the Agent interface as @Beta - #62 (@davidliu)

2.1.3

Patch Changes

2.1.2

Patch Changes

  • rememberTextStream: room argument is changed to an optional argument. - #57 (@davidliu)

2.1.1

Patch Changes

2.1.0

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)

2.0.0

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)

1.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

1.3.1

Patch Changes

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

1.3.0

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)

1.2.0

Minor Changes

Patch Changes

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

1.2.0

Minor Changes

Patch Changes

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