Conviva Client Library
ccl_bidid.h
1 //
2 // Copyright (c) 2021 Conviva. All rights reserved.
3 // CCL - Conviva Client Library
4 //
5 
9 
16 
17 #ifndef CCLBIDID_H
18 #define CCLBIDID_H
19 
20 #include <stdint.h>
21 
23 #define CCL_BIDID_MAX_SIZE 512
24 
26 typedef struct ccl_session ccl_session_t;
27 
29 typedef enum {
43 
45 typedef enum {
48 
52 
55 
58 
62 
64 typedef enum {
67 
70 
73 
77 
79 typedef struct {
80 
82  char *content_id;
83 
85  char *channel_id;
86 
90 
92 typedef struct {
95 
98  char bidid[CCL_BIDID_MAX_SIZE];
100 
108  const ccl_bidid_input_info_t *input);
109 
118  const char *bidid);
119 
120 #endif /* CCLBIDID_H */
121 
ccl_bidid_data_t ccl_create_bidid(ccl_session_t *session, const ccl_bidid_input_info_t *input)
Creates the Bid Id and associates with session if session instance is available.
Bid Id association success.
Definition: ccl_bidid.h:66
char * content_id
Uniquely identifiable content id.
Definition: ccl_bidid.h:82
ccl_bidid_associate_status_t
Bid Id Association status.
Definition: ccl_bidid.h:64
Holds the Bid Id data.
Definition: ccl_bidid.h:92
char * channel_id
Channel id of the program.
Definition: ccl_bidid.h:85
Bid Id generation is disabled from server.
Definition: ccl_bidid.h:54
live linear stream type
Definition: ccl_bidid.h:35
Conviva&#39;s Bid Id Input Information.
Definition: ccl_bidid.h:79
Unknown stream type.
Definition: ccl_bidid.h:31
ccl_bidid_associate_status_t ccl_session_associate_bidid(ccl_session_t *session, const char *bidid)
Associates the Bid Id with Video session.
Uninitalized SDK.
Definition: ccl_bidid.h:75
Customer key invalid.
Definition: ccl_bidid.h:60
live stream type
Definition: ccl_bidid.h:33
catchup stream type
Definition: ccl_bidid.h:41
Bid Id generation success.
Definition: ccl_bidid.h:47
Invalid session id.
Definition: ccl_bidid.h:69
Invalid Bid Id.
Definition: ccl_bidid.h:72
ccl_bidid_stream_type_t
Stream type.
Definition: ccl_bidid.h:29
ccl_bidid_stream_type_t stream_type
Type of the stream like live,vod,dvr,catchup.
Definition: ccl_bidid.h:88
dvr stream type
Definition: ccl_bidid.h:39
#define CCL_BIDID_MAX_SIZE
Max size of Bid Id.
Definition: ccl_bidid.h:23
Definition: ccl_bidid.h:51
vod stream type
Definition: ccl_bidid.h:37
struct ccl_session ccl_session_t
Conviva monitoring session.
Definition: ccl.h:97
ccl_bidid_gen_status_t
Bid Id generation status.
Definition: ccl_bidid.h:45
All IDs are disabled from server.
Definition: ccl_bidid.h:57
ccl_bidid_gen_status_t status
Holds status/error info incase of any failures.
Definition: ccl_bidid.h:94