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 
58 int janus_sdp_process(void *handle, janus_sdp *sdp, gboolean update);
59 
66 int janus_sdp_parse_candidate(void *stream, const char *candidate, int trickle);
67 
74 int janus_sdp_parse_ssrc_group(void *stream, const char *group_attr, int video);
75 
82 int janus_sdp_parse_ssrc(void *stream, const char *ssrc_attr, int video);
83 
88 
94 char *janus_sdp_merge(void *handle, janus_sdp *sdp, gboolean offer);
96 
97 #endif
SDP utilities (headers)
ogg_stream_state * stream
Definition: pp-opus.c:31
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:1075
Janus SDP internal object representation.
Definition: sdp-utils.h:25
int janus_sdp_process(void *handle, janus_sdp *sdp, gboolean update)
Method to process a parsed session description.
Definition: sdp.c:90
int janus_sdp_parse_candidate(void *stream, const char *candidate, int trickle)
Method to parse a single candidate.
Definition: sdp.c:593
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:31
int janus_sdp_parse_ssrc_group(void *stream, const char *group_attr, int video)
Method to parse a SSRC group attribute.
Definition: sdp.c:821
int janus_sdp_anonymize(janus_sdp *sdp)
Method to strip/anonymize a session description.
Definition: sdp.c:954
int janus_sdp_parse_ssrc(void *stream, const char *ssrc_attr, int video)
Method to parse a SSRC attribute.
Definition: sdp.c:912