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.
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 | No | Viewer ID of the session, if you don't fill this parameter, it will be filled automatically. |
contentInfo | Map<String, Any?> | No | The metadata to be sent to the conviva dashboard for current session. |
deviceMetadata | Map<String, Any?> | No | Device metadata to be sent to the conviva for current session. |
Gradle dependencies
dependencies {
implementation 'com.conviva.sdk:conviva-core-sdk:4.0.33'
}
val luraConfiguration = LuraConfiguration(
plugins = LuraPluginsConfigurations(
conviva = ConvivaConfiguration(
enabled = true,
gatewayUrl = "https://test.conviva.com",
customerKey = "CUSTOMER_KEY",
contentInfo = mapOf("Key" to "Value"),
deviceMetadata = mapOf("Key" to "Value"),
)
)
)
playerView = findViewById(R.id.lura_player_view)
player = LuraPlayer(context = this, playerView = playerView)
player.setConfig(luraConfiguration)