102        uint32_t 
ssrc, 
int pt, 
int srtp_suite, 
const char *srtp_crypto,
 
GMutex janus_mutex
Janus mutex implementation.
Definition mutex.h:73
 
janus_videocodec
Definition rtp.h:139
 
int janus_rtp_forwarder_add_rtcp(janus_rtp_forwarder *rf, int rtcp_port, void(*rtcp_callback)(janus_rtp_forwarder *rf, char *buffer, int len))
Helper method to add RTCP support to an existing forwarder.
Definition rtpfwd.c:246
 
void janus_rtp_forwarder_destroy(janus_rtp_forwarder *rf)
Helper method to free a janus_rtp_forwarder instance.
Definition rtpfwd.c:409
 
void janus_rtp_forwarder_send_rtp(janus_rtp_forwarder *rf, char *buffer, int len, int substream)
Helper method to forward an RTP packet within the context of a forwarder.
Definition rtpfwd.c:332
 
void janus_rtp_forwarders_deinit(void)
RTP forwarders code de-initialization.
Definition rtpfwd.c:79
 
janus_rtp_forwarder * janus_rtp_forwarder_create(const char *ctx, uint32_t stream_id, int udp_fd, const char *host, int port, uint32_t ssrc, int pt, int srtp_suite, const char *srtp_crypto, gboolean simulcast, int substream, gboolean is_video, gboolean is_data)
Helper method to create a new janus_rtp_forwarder instance.
Definition rtpfwd.c:145
 
struct janus_rtp_forwarder janus_rtp_forwarder
Helper struct for implementing RTP forwarders.
 
int janus_rtp_forwarders_init(void)
RTP forwarders code initialization.
Definition rtpfwd.c:44
 
void janus_rtp_forwarder_send_rtp_full(janus_rtp_forwarder *rf, char *buffer, int len, int substream, uint32_t *ssrcs, char **rids, janus_videocodec vcodec, janus_mutex *rid_mutex)
Extended version of janus_rtp_forwarder_send_rtp, to be used when the forwarder is configured to act ...
Definition rtpfwd.c:337
 
SRTP definitions (headers)
 
Helper struct for implementing RTP forwarders.
Definition rtpfwd.h:30
 
int substream
Definition rtpfwd.h:48
 
uint16_t local_rtcp_port
Definition rtpfwd.h:56
 
volatile gint destroyed
Atomic flag to check if this instance has been destroyed.
Definition rtpfwd.h:79
 
struct sockaddr_in serv_addr
Definition rtpfwd.h:50
 
char * context
Definition rtpfwd.h:34
 
GSource * rtcp_recv
Definition rtpfwd.h:60
 
gboolean is_video
Definition rtpfwd.h:40
 
gboolean is_srtp
Definition rtpfwd.h:68
 
void * metadata
Definition rtpfwd.h:77
 
int udp_fd
Definition rtpfwd.h:38
 
uint16_t remote_rtcp_port
Definition rtpfwd.h:56
 
srtp_t srtp_ctx
Definition rtpfwd.h:70
 
janus_rtp_switching_context rtp_context
Definition rtpfwd.h:64
 
int rtcp_fd
Definition rtpfwd.h:54
 
uint32_t stream_id
Definition rtpfwd.h:36
 
struct sockaddr_in6 serv_addr6
Definition rtpfwd.h:52
 
void * source
Definition rtpfwd.h:32
 
void(* rtcp_callback)(struct janus_rtp_forwarder *rf, char *buffer, int len)
Definition rtpfwd.h:58
 
gboolean is_data
Definition rtpfwd.h:42
 
uint32_t ssrc
Definition rtpfwd.h:44
 
srtp_policy_t srtp_policy
Definition rtpfwd.h:72
 
janus_refcount ref
Reference counter for this instance.
Definition rtpfwd.h:81
 
int payload_type
Definition rtpfwd.h:46
 
janus_rtp_simulcasting_context sim_context
Definition rtpfwd.h:66
 
gboolean simulcast
Definition rtpfwd.h:62
 
Helper struct for processing and tracking simulcast streams.
Definition rtp.h:398
 
RTP context, in order to make sure SSRC changes result in coherent seq/ts increases.
Definition rtp.h:308