Conviva Client Library
Data Fields
ccl_content_info_t Struct Reference

#include <ccl_content_info.h>

Data Fields

char * asset_name
 
char * default_cdn
 A string identifying the CDN used to stream video content. More...
 
char * default_resource
 A string identifying the resource used to stream video content. More...
 
int default_bitrate
 The default bitrate to report for this content. More...
 
int default_average_bitrate
 The default average bitrate to report for this content. More...
 
char * viewer_id
 
char * player_name
 
char * stream_url
 
int is_live
 
int duration
 
ccl_dictionary_ttags
 

Detailed Description

Note
All strings should be allocated and deallocated by the application.

Field Documentation

◆ asset_name

char* ccl_content_info_t::asset_name

Required. A unique, human-readable identifier for the content.

Default value is NULL (not available).

◆ default_average_bitrate

int ccl_content_info_t::default_average_bitrate

The default average bitrate to report for this content.

Use when the average bitrate for the video content is known in advance (usually for progressive download).
For adapative bitrate technologies, use set_average_bitrate() to report the average bitrate.

Default value is -1 (not available).

◆ default_bitrate

int ccl_content_info_t::default_bitrate

The default bitrate to report for this content.

Use when the bitrate for the video content is known in advance (usually for progressive download).
For adapative bitrate technologies, use set_stream() to report peak bitrate

Default value is -1 (not available).

◆ default_cdn

char* ccl_content_info_t::default_cdn

A string identifying the CDN used to stream video content.

Example values: "LEVEL3", "AKAMAI", "EDGECAST", ...

Work with your Conviva representative to ensure the CDN values you send are recognized by the Conviva platform.

Default value is NULL (not available).

◆ default_resource

char* ccl_content_info_t::default_resource

A string identifying the resource used to stream video content.

Provides more granularity than default_cdn.
Example values: "LEVEL3-PREMIUM", "AKAMAI-CN-CACHE"
Default value is NULL (not available).

Work with your Conviva representative to ensure the CDN values you send are recognized by the Conviva platform.

Note
When NULL, the value of default_cdn is used for reporting instead.

◆ duration

int ccl_content_info_t::duration

Duration of the content, in seconds.

Default value is -1 (not available).

◆ is_live

int ccl_content_info_t::is_live

Required. Set to true if the content is streamed live, and false otherwise.

Default value is false.

◆ player_name

char* ccl_content_info_t::player_name

A human-readable string identifying the current application/video player.

Default value is NULL (not available).

◆ stream_url

char* ccl_content_info_t::stream_url

Required. The URL from which the video is loaded.
For manifest-based streaming technologies, use the URL to the top-level manifest.

Default value is NULL (not available).

◆ tags

ccl_dictionary_t* ccl_content_info_t::tags

Custom metadata enabling powerful data filtering based on critical business dimensions.
Common examples include the subscription type of the current user, content genres...
Refer to the Conviva metadata spreadsheet for more information.
Contact your Conviva representative to obtain the metadata spreadsheet for your integration.

◆ viewer_id

char* ccl_content_info_t::viewer_id

An optional string identifying the viewer.

Default value is NULL (not available).