Conviva
Lura Conviva Plugin uses the conviva library which enables it to send analytics data to the conviva end point when this plugin is enabled. The plugin also allows the application to send custom metadata in these calls. The following sections describe how the conviva plugin can be enabled and how the application can pass data to the SDK to be inserted in the conviva calls. Conviva dashboards provide insights to content broadcasters by gathering key metrics during high demand events and monitor the system in real time.
Plugin Name: ConvivaPlugin
Plugin Config Name: conviva
Configuration
Attribute | Type | Required | Description |
---|---|---|---|
enabled | boolean | Yes | Enable the plugin (Defaults to false if no value is given.) |
customerKey | string | Yes | Conviva customer key, it can be test or production key. |
gatewayUrl | string | No | Service URL of your conviva touchstone gateway. Don't fill this parameter in production. |
viewerId | string | Yes | Viewer ID set from customer app |
contentInfo | Dictionary[string: string] | No | The metadata to be sent to the conviva dashboard for current session. |
deviceMetadata | Dictionary[string: string] | No | Device metadata to be sent to the conviva for current session. |
Swift
let convivaConfig = ConvivaPluginConfiguration(enabled: true,
customerKey: "YOUR_CUSTOMER_KEY",
gatewayUrl: "YOUR_GATEWAY_URL",
viewerId: UUID().uuidString,
contentInfo: ["key": "value"],
deviceMetadata: ["key": "value"])