ccl_notifier_t is used to push video playback data notifications to the Conviva library. More...
#include <ccl_notifier_if.h>
Data Fields | |
| void(* | log )(ccl_notifier_context_t *notifier_context, const char *message) |
| Logs a message related to video player monitoring through Conviva's logging system. | |
| void(* | set_state )(ccl_notifier_context_t *notifier_context, ccl_player_state_t new_state) |
| Notify Conviva of a change in player state. | |
| void(* | set_stream )(ccl_notifier_context_t *notifier_context, int bitrate_kbps, const char *cdn, const char *resource) |
| Notify Conviva of a change in the peak bitrate, CDN or resource. | |
| void(* | set_error )(ccl_notifier_context_t *notifier_context, const char *error_message, int is_fatal) |
| Notify Conviva of a video player error. | |
| void(* | set_duration )(ccl_notifier_context_t *notifier_context, int duration) |
| Notify Conviva of the duration (length) of the current video content in seconds. | |
| void(* | set_encoded_framerate )(ccl_notifier_context_t *notifier_context, int framerate) |
| Notify Conviva of the encoded framerate of the current video content. In frames per second. | |
| void(* | set_video_size )(ccl_notifier_context_t *notifier_context, int width, int height) |
| Notify Conviva of the video size of the current video content. | |
| void(* | set_seek )(ccl_notifier_context_t *notifier_context, ccl_seek_action_t action, int seektoposition) |
| Notify Conviva of the seek event. | |
| void(* | set_CDNServerIP )(ccl_notifier_context_t *notifier_context, const char *CDNServerIP) |
| Notify Conviva of a change in the CDN Server IP. | |
| void(* | set_dropped_frame_total )(ccl_notifier_context_t *notifier_context, int dropped_frame_total) |
| Notify Conviva of the cumulative dropped video frames since stream start. | |
| void(* | set_dropped_frame_count )(ccl_notifier_context_t *notifier_context, int dropped_frame_count) |
| Notify Conviva of the cumulative dropped video frames since stream start. | |
| void(* | set_average_bitrate )(ccl_notifier_context_t *notifier_context, int avg_bitrate_kbps) |
| Notify Conviva of a change in average bitrate currently used by the video player. | |
| void(* | report_langauge_event )(ccl_notifier_context_t *notifier_context, ccl_langauge_event_type_t language_event, const char *language_name) |
| Notify Conviva of a langauge change in audio/subtitle/closed caption. | |
| void(* | reportAppForegrounded )(ccl_notifier_context_t *notifier_context) |
| Notify Conviva of the app is foregrounded (from previously backgrouned). | |
| void(* | reportAppBackgrounded )(ccl_notifier_context_t *notifier_context) |
| Notify Conviva of the app is backgrounded. | |
ccl_notifier_t is used to push video playback data notifications to the Conviva library.
| void(* ccl_notifier_t::log) (ccl_notifier_context_t *notifier_context, const char *message) |
Logs a message related to video player monitoring through Conviva's logging system.
| notifier_context | Notifier context for the notification. |
| message | Message to be logged. |
| void(* ccl_notifier_t::report_langauge_event) (ccl_notifier_context_t *notifier_context, ccl_langauge_event_type_t language_event, const char *language_name) |
Notify Conviva of a langauge change in audio/subtitle/closed caption.
| notifier_context | Notifier context for the notification. |
| language_event | Type of the language change event |
| language_name | Name of the langauge |
| void(* ccl_notifier_t::reportAppBackgrounded) (ccl_notifier_context_t *notifier_context) |
Notify Conviva of the app is backgrounded.
| notifier_context | Notifier context for the notification. |
| void(* ccl_notifier_t::reportAppForegrounded) (ccl_notifier_context_t *notifier_context) |
Notify Conviva of the app is foregrounded (from previously backgrouned).
| notifier_context | Notifier context for the notification. |
| void(* ccl_notifier_t::set_average_bitrate) (ccl_notifier_context_t *notifier_context, int avg_bitrate_kbps) |
Notify Conviva of a change in average bitrate currently used by the video player.
| notifier_context | Notifier context for the notification. |
| avg_bitrate_kbps | New average bitrate in Kbps.. |
| void(* ccl_notifier_t::set_CDNServerIP) (ccl_notifier_context_t *notifier_context, const char *CDNServerIP) |
Notify Conviva of a change in the CDN Server IP.
| notifier_context | Notifier context for the notification. |
| CDNServerIP | New CDN Edge Server IP used to serve video stream. |
| void(* ccl_notifier_t::set_dropped_frame_count) (ccl_notifier_context_t *notifier_context, int dropped_frame_count) |
Notify Conviva of the cumulative dropped video frames since stream start.
| notifier_context | Notifier context for the notification. |
| dropped_frame_count | Dropped video frame count since last reported. |
| void(* ccl_notifier_t::set_dropped_frame_total) (ccl_notifier_context_t *notifier_context, int dropped_frame_total) |
Notify Conviva of the cumulative dropped video frames since stream start.
| notifier_context | Notifier context for the notification. |
| dropped_frame_total | Dropped video frame total since stream start. |
| void(* ccl_notifier_t::set_duration) (ccl_notifier_context_t *notifier_context, int duration) |
Notify Conviva of the duration (length) of the current video content in seconds.
| notifier_context | Notifier context for the notification. |
| duration | Duration of the video context in seconds. |
| void(* ccl_notifier_t::set_encoded_framerate) (ccl_notifier_context_t *notifier_context, int framerate) |
Notify Conviva of the encoded framerate of the current video content. In frames per second.
| notifier_context | Notifier context for the notification. |
| framerate | Encoded frame rate of the video content in frames per second. |
| void(* ccl_notifier_t::set_error) (ccl_notifier_context_t *notifier_context, const char *error_message, int is_fatal) |
Notify Conviva of a video player error.
| notifier_context | Notifier context for the notification. |
| error_message | Error message. |
| is_fatal | Whether the error could prevent video playback altogether. When in doubt, set to true. |
| void(* ccl_notifier_t::set_seek) (ccl_notifier_context_t *notifier_context, ccl_seek_action_t action, int seektoposition) |
Notify Conviva of the seek event.
| notifier_context | Notifier context for the notification. |
| action | Seek action |
| seektoposition | seek to position |
| void(* ccl_notifier_t::set_state) (ccl_notifier_context_t *notifier_context, ccl_player_state_t new_state) |
Notify Conviva of a change in player state.
| notifier_context | Notifier context for the notification. |
| new_state | The new player state. |
| void(* ccl_notifier_t::set_stream) (ccl_notifier_context_t *notifier_context, int bitrate_kbps, const char *cdn, const char *resource) |
Notify Conviva of a change in the peak bitrate, CDN or resource.
| notifier_context | Notifier context for the notification. |
| bitrate_kbps | New peak bitrate currently used by the video player. |
| cdn | New CDN used to serve video streams. |
| resource | New resource used to serve video streams. |
| void(* ccl_notifier_t::set_video_size) (ccl_notifier_context_t *notifier_context, int width, int height) |
Notify Conviva of the video size of the current video content.
| notifier_context | Notifier context for the notification. |
| video | Resoluion (Width & Height) of the video content. |