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 
32 
35 
46 janus_sdp *janus_sdp_preparse(void *handle, const char *jsep_sdp, char *error_str, size_t errlen, int *audio, int *video, int *data);
47 
55 int janus_sdp_process_remote(void *handle, janus_sdp *sdp, gboolean rids_hml, gboolean update);
56 
63 int janus_sdp_process_local(void *handle, janus_sdp *sdp, gboolean update);
64 
71 int janus_sdp_parse_candidate(void *pc, const char *candidate, int trickle);
72 
79 int janus_sdp_parse_ssrc_group(void *medium, const char *group_attr, int video);
80 
87 int janus_sdp_parse_ssrc(void *medium, const char *ssrc_attr, int video);
88 
93 
99 char *janus_sdp_merge(void *handle, janus_sdp *sdp, gboolean offer);
101 
102 #endif
janus_sdp_merge
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:1223
janus_sdp_anonymize
int janus_sdp_anonymize(janus_sdp *sdp)
Method to strip/anonymize a session description.
Definition: sdp.c:1078
janus_sdp
Janus SDP internal object representation.
Definition: sdp-utils.h:25
janus_sdp_process_local
int janus_sdp_process_local(void *handle, janus_sdp *sdp, gboolean update)
Method to process a local parsed session description.
Definition: sdp.c:583
janus_sdp_parse_ssrc
int janus_sdp_parse_ssrc(void *medium, const char *ssrc_attr, int video)
Method to parse a SSRC attribute.
Definition: sdp.c:1051
janus_sdp_parse_ssrc_group
int janus_sdp_parse_ssrc_group(void *medium, const char *group_attr, int video)
Method to parse a SSRC group attribute.
Definition: sdp.c:955
janus_sdp_process_remote
int janus_sdp_process_remote(void *handle, janus_sdp *sdp, gboolean rids_hml, gboolean update)
Method to process a remote parsed session description.
Definition: sdp.c:99
sdp-utils.h
SDP utilities (headers)
janus_sdp_preparse
janus_sdp * janus_sdp_preparse(void *handle, const char *jsep_sdp, char *error_str, size_t errlen, int *audio, int *video, int *data)
Method to pre-parse a session description.
Definition: sdp.c:33
janus_sdp_parse_candidate
int janus_sdp_parse_candidate(void *pc, const char *candidate, int trickle)
Method to parse a single candidate.
Definition: sdp.c:726