10 #ifndef MEDIA_TRANSFORMER_H 11 #define MEDIA_TRANSFORMER_H 18 #define OTC_MEDIA_TRANSFORMER_ERROR_SPACE 0x0A000000 20 enum otc_media_transformer_error_code {
21 OTC_MEDIA_TRANSFORMER_INTERNAL_ERROR =
22 OTC_MEDIA_TRANSFORMER_ERROR_SPACE,
23 OTC_MEDIA_TRANSFORMER_INVALID_TYPE,
24 OTC_MEDIA_TRANSFORMER_NAME_NOT_PROVIDED,
25 OTC_MEDIA_TRANSFORMER_CUSTOM_CALLBACK_NOT_PROVIDED,
26 OTC_MEDIA_TRANSFORMER_PROPERTIES_NOT_PROVIDED,
27 OTC_MEDIA_TRANSFORMER_MODEL_NOT_FOUND,
28 OTC_MEDIA_TRANSFORMER_OPENTOK_TRANSFORMERS_LIBRARY_NOT_LOADED,
29 OTC_MEDIA_TRANSFORMER_OPENTOK_TRANSFORMERS_SYMBOL_NOT_FOUND
44 OTC_MEDIA_TRANSFORMER_TYPE_CUSTOM = 0,
45 OTC_MEDIA_TRANSFORMER_TYPE_VONAGE
76 const char* properties,
99 const char* properties,
void(* video_transform_callback)(void *user_data, struct otc_video_frame *frame)
The callback that will perform the custom transformation.
Definition: video_frame.h:134
int otc_status
Definition: base.h:153
void(* audio_transform_callback)(void *user_data, struct otc_audio_data *frame)
The callback that will perform the custom transformation.
Definition: audio_data.h:33