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
OTC_VIDEO_CODEC_VP9
= 3
22
};
23
26
typedef
enum
otc_video_codec_type
otc_video_codec_type
;
27
31
struct
otc_media_utils_codecs
{
32
size_t
number_encoder_video_codecs
;
34
otc_video_codec_type
*
35
encoder_video_codecs
;
37
size_t
number_decoder_video_codecs
;
39
otc_video_codec_type
*
40
decoder_video_codecs
;
42
};
43
48
typedef
struct
otc_media_utils_codecs
otc_media_utils_codecs
;
49
60
OTC_DECL(
otc_status
)
61
otc_media_utils_get_supported_codecs
(
otc_media_utils_codecs
** supported_codecs);
62
69
OTC_DECL(
otc_status
)
70
otc_media_utils_codecs_delete
(
otc_media_utils_codecs
* supported_codecs);
71
72
OTC_END_DECL
73
74
#endif // MEDIA_UTILS_H
otc_status
int otc_status
Definition:
base.h:153
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:32
otc_media_utils_codecs::decoder_video_codecs
otc_video_codec_type * decoder_video_codecs
Definition:
media_utils.h:40
otc_media_utils_codecs::number_decoder_video_codecs
size_t number_decoder_video_codecs
Definition:
media_utils.h:37
OTC_VIDEO_CODEC_VP8
Definition:
media_utils.h:19
OTC_VIDEO_CODEC_VP9
Definition:
media_utils.h:21
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:31
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:35
otc_media_utils_get_supported_codecs
otc_status otc_media_utils_get_supported_codecs(otc_media_utils_codecs **supported_codecs)
Generated on Thu Jun 27 2024 12:39:27 for OpenTok C SDK by
1.8.15