davidliu
Committed by GitHub

Update README.md to surface CameraX library

正在显示 1 个修改的文件 包含 7 行增加3 行删除
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 <!--END_BANNER_IMAGE--> 9 <!--END_BANNER_IMAGE-->
10 10
11 # Android Kotlin SDK for LiveKit 11 # Android Kotlin SDK for LiveKit
12 - 12 +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.livekit/livekit-android/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.livekit/livekit-android)
13 <!--BEGIN_DESCRIPTION--> 13 <!--BEGIN_DESCRIPTION-->
14 Use this SDK to add real-time video, audio and data features to your Android/Kotlin app. By connecting to a self- or cloud-hosted <a href="https://livekit.io/">LiveKit</a> server, you can quickly build applications like interactive live streaming or video calls with just a few lines of code. 14 Use this SDK to add real-time video, audio and data features to your Android/Kotlin app. By connecting to a self- or cloud-hosted <a href="https://livekit.io/">LiveKit</a> server, you can quickly build applications like interactive live streaming or video calls with just a few lines of code.
15 <!--END_DESCRIPTION--> 15 <!--END_DESCRIPTION-->
@@ -44,11 +44,15 @@ at [https://docs.livekit.io/client-sdk-android/index.html](https://docs.livekit. @@ -44,11 +44,15 @@ at [https://docs.livekit.io/client-sdk-android/index.html](https://docs.livekit.
44 ## Installation 44 ## Installation
45 45
46 LiveKit for Android is available as a Maven package. 46 LiveKit for Android is available as a Maven package.
47 -  
48 ```groovy title="build.gradle" 47 ```groovy title="build.gradle"
49 ... 48 ...
50 dependencies { 49 dependencies {
51 - implementation "io.livekit:livekit-android:2.5.0" 50 + def livekit_version = "2.5.0"
  51 +
  52 + implementation "io.livekit:livekit-android:$livekit_version"
  53 + // CameraX support with pinch to zoom, torch control, etc.
  54 + implementation "io.livekit:livekit-android-camerax:$livekit_version"
  55 +
52 // Snapshots of the latest development version are available at: 56 // Snapshots of the latest development version are available at:
53 // implementation "io.livekit:livekit-android:2.5.1-SNAPSHOT" 57 // implementation "io.livekit:livekit-android:2.5.1-SNAPSHOT"
54 } 58 }