Skip to main content

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

AttributeTypeRequiredDescription
enabledbooleanYesEnable the plugin (Defaults to false if no value is given.)
customerKeystringYesConviva customer key, it can be test or production key.
gatewayUrlstringNoService URL of your conviva touchstone gateway. Don't fill this parameter in production.
viewerIdstringYesViewer ID set from customer app
contentInfoDictionary[string: string]NoThe metadata to be sent to the conviva dashboard for current session.
deviceMetadataDictionary[string: string]NoDevice 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"])