32 #ifndef RTPTRANSPORT_H
33 #define RTPTRANSPORT_H
35 #include <ortp/port.h>
44 int (*t_global_init)(void);
45 int (*t_global_shutdown)(void);
46 int (*t_set_option)(
struct _RtpModule *module,
int opt,
void *value);
58 int (*t_global_init)(void);
59 int (*t_global_shutdown)(void);
60 int (*t_set_option)(
struct _RtpTransport *transport,
int opt,
void *value);
61 ortp_socket_t (*t_rtp_getsocket)(
const struct _RtpSession *t);
62 ortp_socket_t (*t_rtcp_getsocket)(
const struct _RtpSession *t);
63 int (*t_rtp_sendto)(
struct _RtpSession *t,
mblk_t *msg,
int flags,
const struct sockaddr *to, socklen_t tolen);
64 int (*t_rtp_recvfrom)(
struct _RtpSession *t,
int idx,
mblk_t *msg,
int flags,
struct sockaddr *from, socklen_t *fromlen);
65 int (*t_rtcp_sendto)(
struct _RtpSession *t,
mblk_t *msg,
int flags,
const struct sockaddr *to, socklen_t tolen);
66 int (*t_rtcp_recvfrom)(
struct _RtpSession *t,
int idx,
mblk_t *msg,
int flags,
struct sockaddr *from, socklen_t *fromlen);
78 RtpModule *ortp_module_new(
const char *name);
80 int ortp_module_set_option(
RtpModule *module,
int opt,
void *value);
82 bool_t ortp_module_is_supported(
const char *name);
85 void ortp_module_remove_all(
void);
90 int ortp_transport_set_option(
RtpTransport *transport,
int opt,
void *value);
92 bool_t ortp_transport_is_supported(
const char *name);
95 void ortp_transport_remove_all(
void);
Definition: rtptransport.h:40
Definition: rtpsession.h:261
Definition: rtptransport.h:54
Definition: str_utils.h:25