Skip to main content

Conviva

Conviva is a technology company that provides a real-time streaming intelligence platform for delivering video content over the internet. It offers a suite of tools for measuring, monitoring and improving video streaming quality, helping content providers and advertisers to deliver an optimal viewing experience for their audiences. Conviva provides actionable insights and data to help optimize content delivery, enabling businesses to improve their video streaming operations and deliver high-quality video content to their audiences.

Lura Player's conviva plugin will collect data, such as video startup time, buffer rate, and bitrate, and send the collected data with the metadata of your configuration to your conviva dashboard.

To learn more about how to send analytics to conviva dashboard in Lura Player, check out Conviva Plugin

Example

import React, { useRef, useEffect, useState } from "react";
import { SafeAreaView, StyleSheet, View } from "react-native";
import { LuraPlayer, type UnifiedPlayer, type Configuration } from "@akta-tech/lura-player-react-native";
import { LuraPlayerControls } from "@akta-tech/lura-player-react-native-ui";

export default function App() {
const playerRef = useRef<UnifiedPlayer>(null);
const config: Configuration = {
...
plugins: {
conviva: {
enabled: true,
customerKey: "CUSTOMER_KEY",
gatewayUrl: "https://test.conviva.com",
viewerId: "test-viewer",
contentInfo: {
key: "value",
},
deviceMetadata: {
key: "value",
},
},
},
...
};
useEffect(() => {
playerRef.current?.setConfig(config)
}, [playerRef]);
return (
<View>
<SafeAreaView />
<LuraPlayer ref={playerRef} style={styles.player}>
<LuraPlayerControls></LuraPlayerControls>
</LuraPlayer>
</View>
);
}

const styles = StyleSheet.create({
player: {
backgroundColor: "#000",
width: "100%",
maxWidth: 640,
aspectRatio: 16 / 9,
},
});