# LiveData Conversation Intelligence (/en/realtime-media/marketplace/build/add-moderation-and-intelligence/livedata-conversation-intelligence)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

The LiveData Conversation Intelligence extension enables you to quickly add real-time speech transcription and translation features to your app.


      
This page shows you how to integrate and use the extension in your app.

## Understand the tech

The extension is an encapsulation of a cloud real-time speech recognition and translation API. You can integrate its capabilities by passing the specified `key` and `value` parameters to the `setExtensionProperty` method provided by the RTC SDK.

## Prerequisites

* Android Studio 4.1 or later.
* A physical device (not an emulator) running Android 5.0 or later.
* Integrated the RTC SDK and implemented basic video calling, see [SDK quickstart](/en/realtime-media/rtc/get-started-sdk).

## Project setup

The extension provides a sample project on GitHub:

1. Clone the repository:

   ```bash
   git clone https://github.com/highras/rtvt-agora-marketplace.git
   ```

2. Open the sample project in Android Studio.

3. Sync the project with Gradle files.

4. Connect a real Android device and run the project.

## Integrate the extension

### Purchase and activate the extension

Visit Extensions Marketplace and purchase the extension. Save the `appKey` and `appSecret` used to initialize it.

### Add the extension package

1. Download the extension package from Extensions Marketplace.
2. Save all `.aar` files to `/app/libs`.
3. Add the Gradle dependency:

   ```text
   implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
   ```

### Enable the extension

```java
RtcEngineConfig config = new RtcEngineConfig();
config.addExtension("agora-iLiveData-filter");
engine = RtcEngine.create(config);
engine.enableExtension("iLiveData", "RTVT", true);
```

### Start transcription and translation

```java
JSONObject jsonObject = new JSONObject();
jsonObject.put("appKey", "80001000");
jsonObject.put("appSecret", "qwerty");
jsonObject.put("srclang", "zh");
jsonObject.put("dstLang", "en");

engine.setExtensionProperty(
  EXTENSION_VENDOR_NAME,
  EXTENSION_AUDIO_FILTER_VOLUME,
  "startAudioTranslation",
  jsonObject.toString()
);
```

### Get transcription and translation results

After successful initialization, the extension returns transcription and translation results through the `onEvent` callback.

### Stop using the extension

```java
engine.setExtensionProperty(
  EXTENSION_VENDOR_NAME,
  EXTENSION_AUDIO_FILTER_VOLUME,
  "closeAudioTranslation",
  "end"
);
```

## Reference

* [RtcEngineConfig.addExtension](/en/api-reference/rtc/android/class-and-enum/classes/class-rtcengineconfig)
* [enableExtension](https://api-ref.agora.io/en/video-sdk/android/4.x/API/class_irtcengine.html#api_irtcengine_enableextension)
* [setExtensionProperty](https://api-ref.agora.io/en/video-sdk/android/4.x/API/class_irtcengine.html#api_irtcengine_setextensionproperty)

    
  
      
  


## Platform-specific versions
- [Android](/en/realtime-media/marketplace/build/add-moderation-and-intelligence/livedata-conversation-intelligence/android.md)
- [iOS](/en/realtime-media/marketplace/build/add-moderation-and-intelligence/livedata-conversation-intelligence/ios.md)
