OpenTok C SDK
src
otkit
include
opentok
media_utils.h
Go to the documentation of this file.
1
9
#ifndef MEDIA_UTILS_H
10
#define MEDIA_UTILS_H
11
12
#include "config.h"
13
14
OTC_BEGIN_DECL
15
18
enum
otc_video_codec_type
{
19
OTC_VIDEO_CODEC_VP8
= 1,
20
OTC_VIDEO_CODEC_H264
= 2
21
};
22
25
typedef
enum
otc_video_codec_type
otc_video_codec_type
;
26
30
struct
otc_media_utils_codecs
{
31
size_t
number_encoder_video_codecs
;
33
otc_video_codec_type
*
34
encoder_video_codecs
;
36
size_t
number_decoder_video_codecs
;
38
otc_video_codec_type
*
39
decoder_video_codecs
;
41
};
42
47
typedef
struct
otc_media_utils_codecs
otc_media_utils_codecs
;
48
59
OTC_DECL(
otc_status
)
60
otc_media_utils_get_supported_codecs
(
otc_media_utils_codecs
** supported_codecs);
61
68
OTC_DECL(
otc_status
)
69
otc_media_utils_codecs_delete
(
otc_media_utils_codecs
* supported_codecs);
70
71
OTC_END_DECL
72
73
#endif // MEDIA_UTILS_H
otc_status
int otc_status
Definition:
base.h:133
otc_video_codec_type
otc_video_codec_type
Definition:
media_utils.h:18
otc_media_utils_codecs::number_encoder_video_codecs
size_t number_encoder_video_codecs
Definition:
media_utils.h:31
otc_media_utils_codecs::decoder_video_codecs
otc_video_codec_type * decoder_video_codecs
Definition:
media_utils.h:39
otc_media_utils_codecs::number_decoder_video_codecs
size_t number_decoder_video_codecs
Definition:
media_utils.h:36
OTC_VIDEO_CODEC_VP8
Definition:
media_utils.h:19
otc_media_utils_codecs_delete
otc_status otc_media_utils_codecs_delete(otc_media_utils_codecs *supported_codecs)
otc_media_utils_codecs
Definition:
media_utils.h:30
OTC_VIDEO_CODEC_H264
Definition:
media_utils.h:20
otc_media_utils_codecs::encoder_video_codecs
otc_video_codec_type * encoder_video_codecs
Definition:
media_utils.h:34
otc_media_utils_get_supported_codecs
otc_status otc_media_utils_get_supported_codecs(otc_media_utils_codecs **supported_codecs)
Generated on Wed Oct 6 2021 14:29:31 for OpenTok C SDK by
1.8.13