uvgRTP 3.1.3
An open-source library for RTP/SRTP media delivery
Loading...
Searching...
No Matches
wrapper_c.hh
1#ifndef UVGRTP_H
2#define UVGRTP_H
3
4#ifdef __cplusplus
5extern "C"
6{
7#endif
8
9void uvgrtp_create_ctx(void** uvgrtp_context);
10
11void uvgrtp_create_session(void* uvgrtp_context, void** uvgrtp_session, char* remote_address);
12
13void uvgrtp_create_stream(void* uvgrtp_session, void** uvgrtp_stream, uint16_t local_port, uint16_t remote_port, int rce_flags);
14
15void uvgrtp_destroy_ctx(void* uvgrtp_context);
16
17void uvgrtp_destroy_session(void* uvgrtp_context, void* uvgrtp_session);
18
19void uvgrtp_destroy_stream(void* uvgrtp_session, void* uvgrtp_stream);
20
21void 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