Fork me on GitHub
sdp.h
Go to the documentation of this file.
1 
24 #ifndef JANUS_SDP_H
25 #define JANUS_SDP_H
26 
27 
28 #include <inttypes.h>
29 
30 #include "sdp-utils.h"
31 #include "dtls.h"
32 
33 
37 
48 janus_sdp *janus_sdp_preparse(void *handle, const char *jsep_sdp, char *error_str, size_t errlen,
49  janus_dtls_role *dtls_role, int *audio, int *video, int *data);
50 
62 int janus_sdp_process(void *handle, janus_sdp *sdp, gboolean rids_hml, gboolean update);
63 
70 int janus_sdp_parse_candidate(void *stream, const char *candidate, int trickle);
71 
78 int janus_sdp_parse_ssrc_group(void *stream, const char *group_attr, int video);
79 
86 int janus_sdp_parse_ssrc(void *stream, const char *ssrc_attr, int video);
87 
92 
98 char *janus_sdp_merge(void *handle, janus_sdp *sdp, gboolean offer);
100 
101 #endif
DTLS/SRTP processing (headers)
janus_dtls_role
DTLS roles.
Definition: dtls.h:51
SDP utilities (headers)
janus_sdp * janus_sdp_preparse(void *handle, const char *jsep_sdp, char *error_str, size_t errlen, janus_dtls_role *dtls_role, int *audio, int *video, int *data)
Method to pre-parse a session description.
Definition: sdp.c:33
int janus_sdp_parse_ssrc(void *stream, const char *ssrc_attr, int video)
Method to parse a SSRC attribute.
Definition: sdp.c:1146
char * janus_sdp_merge(void *handle, janus_sdp *sdp, gboolean offer)
Method to merge a stripped session description and the right transport information.
Definition: sdp.c:1323
int janus_sdp_process(void *handle, janus_sdp *sdp, gboolean rids_hml, gboolean update)
Method to process a parsed session description.
Definition: sdp.c:163
int janus_sdp_parse_ssrc_group(void *stream, const char *group_attr, int video)
Method to parse a SSRC group attribute.
Definition: sdp.c:1051
int janus_sdp_anonymize(janus_sdp *sdp)
Method to strip/anonymize a session description.
Definition: sdp.c:1178
int janus_sdp_parse_candidate(void *stream, const char *candidate, int trickle)
Method to parse a single candidate.
Definition: sdp.c:819
Janus SDP internal object representation.
Definition: sdp-utils.h:25