OpenTok C SDK
src
otkit
include
opentok
media_utils.h
Go to the documentation of this file.
1
8
#ifndef MEDIA_UTILS_H
9
#define MEDIA_UTILS_H
10
11
#include "config.h"
12
13
OTC_BEGIN_DECL
14
17
enum
otc_video_codec_type
{
18
OTC_VIDEO_CODEC_VP8
= 1,
19
OTC_VIDEO_CODEC_H264
= 2
20
};
21
24
typedef
enum
otc_video_codec_type
otc_video_codec_type
;
25
28
struct
otc_media_utils_codecs
{
29
size_t
number_encoder_video_codecs
;
30
otc_video_codec_type
*
encoder_video_codecs
;
31
size_t
number_decoder_video_codecs
;
32
otc_video_codec_type
*
decoder_video_codecs
;
33
};
34
39
typedef
struct
otc_media_utils_codecs
otc_media_utils_codecs
;
40
49
OTC_DECL(
otc_status
)
otc_media_utils_get_supported_codecs
(
otc_media_utils_codecs
** supported_codecs);
50
57
OTC_DECL(
otc_status
)
otc_media_utils_codecs_delete
(
otc_media_utils_codecs
* supported_codecs);
58
59
OTC_END_DECL
60
61
#endif // MEDIA_UTILS_H
otc_status
int otc_status
Definition:
base.h:114
otc_video_codec_type
otc_video_codec_type
Definition:
media_utils.h:17
otc_media_utils_codecs::number_encoder_video_codecs
size_t number_encoder_video_codecs
Definition:
media_utils.h:29
otc_media_utils_codecs::decoder_video_codecs
otc_video_codec_type * decoder_video_codecs
Definition:
media_utils.h:32
otc_media_utils_codecs::number_decoder_video_codecs
size_t number_decoder_video_codecs
Definition:
media_utils.h:31
OTC_VIDEO_CODEC_VP8
Definition:
media_utils.h:18
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:28
OTC_VIDEO_CODEC_H264
Definition:
media_utils.h:19
otc_media_utils_codecs::encoder_video_codecs
otc_video_codec_type * encoder_video_codecs
Definition:
media_utils.h:30
otc_media_utils_get_supported_codecs
otc_status otc_media_utils_get_supported_codecs(otc_media_utils_codecs **supported_codecs)
Generated on Tue Aug 25 2020 20:18:55 for OpenTok C SDK by
1.8.13