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

> 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 `setExtensionPropertyWithVendor` method provided by the RTC SDK.

## Prerequisites

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

## Project setup

1. Clone the sample repository:

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

2. Enter `iOS/SW_Test` and run:

   ```bash
   pod install
   ```

3. Open `SW_Test.xcworkspace` in Xcode.

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

## Integrate the extension

### Add the extension package

1. Download the extension package from Extensions Marketplace.
2. Save all `.framework` files to your project folder.
3. Add the dynamic libraries in Xcode and make sure **Embed** is set to **Embed & Sign**.
4. Add `-ObjC` to **Other Linker Flags**.

   ![Add ObjC](https://assets-docs.agora.io/images/extensions-marketplace/livedata-ios-build-settings-add-objc.png)

![Capitalize O and C](https://assets-docs.agora.io/images/extensions-marketplace/livedata-ios-build-settings-capitalize-o-and-c.png)

### Enable the extension

```objc
AgoraRtcEngineConfig *config = [AgoraRtcEngineConfig new];
config.eventDelegate = self;
self.agoraKit = [AgoraRtcEngineKit sharedEngineWithConfig:config delegate:self];
[self.kit enableExtensionWithVendor:[iLiveDataSimpleFilterManager companyName]
                          extension:[iLiveDataSimpleFilterManager plugName]
                            enabled:YES];
```

### Start transcription and translation

Use `setExtensionPropertyWithVendor` with the `startAudioTranslation` key and a JSON string containing `appKey`, `appSecret`, `srcLanguage`, and `destLanguage`.

### Get transcription and translation results

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

### Stop using the extension

Use `setExtensionPropertyWithVendor` with the `closeAudioTranslation` key.

## Reference

* [enableExtensionWithVendor](https://api-ref.agora.io/en/video-sdk/ios/4.x/documentation/agorartckit/agorartcenginekit/enableextension%28withvendor\:extension\:enabled:%29)
* [setExtensionPropertyWithVendor](https://api-ref.agora.io/en/video-sdk/ios/4.x/documentation/agorartckit/agorartcenginekit/setextensionpropertywithvendor%28_\:extension\:extensioninfo\:key\:value:%29)

    
  
