OpenTok C SDK
Loading...
Searching...
No Matches
stream.h
Go to the documentation of this file.
1
7#ifndef STREAM_H
8#define STREAM_H
9
10#include "config.h"
11#include "connection.h"
12
13OTC_BEGIN_DECL
14
18typedef struct otc_stream otc_stream;
19
30
38OTC_DECL(const char*) otc_stream_get_id(const otc_stream* stream);
39
47OTC_DECL(const char*) otc_stream_get_name(const otc_stream* stream);
48
56OTC_DECL(otc_bool) otc_stream_has_video_track(const otc_stream* stream);
57
65OTC_DECL(otc_bool) otc_stream_has_video(const otc_stream* stream);
66
74OTC_DECL(otc_bool) otc_stream_has_audio_track(const otc_stream* stream);
75
83OTC_DECL(otc_bool) otc_stream_has_audio(const otc_stream* stream);
84
92OTC_DECL(otc_bool) otc_stream_has_captions(const otc_stream* stream);
93
100OTC_DECL(otc_stream*) otc_stream_copy(const otc_stream* stream);
101
108OTC_DECL(otc_status) otc_stream_delete(otc_stream* stream);
109
128OTC_DECL(int) otc_stream_get_video_width(const otc_stream* stream);
129
148OTC_DECL(int) otc_stream_get_video_height(const otc_stream* stream);
149
156OTC_DECL(int64_t) otc_stream_get_creation_time(const otc_stream* stream);
157
165OTC_DECL(enum otc_stream_video_type)
167
174OTC_DECL(const otc_connection*)
176
177OTC_END_DECL
178
179#endif // STREAM_H
int otc_bool
Definition base.h:167
int otc_status
Definition base.h:262
Client connection.
struct otc_connection otc_connection
Definition connection.h:19
otc_stream * otc_stream_copy(const otc_stream *stream)
const otc_connection * otc_stream_get_connection(const otc_stream *stream)
const char * otc_stream_get_name(const otc_stream *stream)
otc_stream_video_type
Definition stream.h:24
@ OTC_STREAM_VIDEO_TYPE_CUSTOM
Definition stream.h:28
@ OTC_STREAM_VIDEO_TYPE_SCREEN
Definition stream.h:26
@ OTC_STREAM_VIDEO_TYPE_CAMERA
Definition stream.h:25
const char * otc_stream_get_id(const otc_stream *stream)
struct otc_stream otc_stream
Definition stream.h:18
enum otc_stream_video_type otc_stream_get_video_type(const otc_stream *stream)