uvgRTP
3.1.3
An open-source library for RTP/SRTP media delivery
Loading...
Searching...
No Matches
include
uvgrtp
wrapper_c.hh
1
#ifndef UVGRTP_H
2
#define UVGRTP_H
3
4
#ifdef __cplusplus
5
extern
"C"
6
{
7
#endif
8
9
void
uvgrtp_create_ctx(
void
** uvgrtp_context);
10
11
void
uvgrtp_create_session(
void
* uvgrtp_context,
void
** uvgrtp_session,
char
* remote_address);
12
13
void
uvgrtp_create_stream(
void
* uvgrtp_session,
void
** uvgrtp_stream, uint16_t local_port, uint16_t remote_port,
int
rce_flags);
14
15
void
uvgrtp_destroy_ctx(
void
* uvgrtp_context);
16
17
void
uvgrtp_destroy_session(
void
* uvgrtp_context,
void
* uvgrtp_session);
18
19
void
uvgrtp_destroy_stream(
void
* uvgrtp_session,
void
* uvgrtp_stream);
20
21
void
uvgrtp_push_frame(
void
* uvgrtp_stream, uint8_t* data,
size_t
data_len,
int
rtp_flags);
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
//UVGRTP_H
Generated by
1.12.0