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 
48 janus_sdp *janus_sdp_preparse(const char *jsep_sdp, char *error_str, size_t errlen, int *audio, int *video, int *data, int *bundle, int *rtcpmux, int *trickle);
49 
55 int janus_sdp_process(void *handle, janus_sdp *sdp);
56 
63 int janus_sdp_parse_candidate(void *stream, const char *candidate, int trickle);
64 
71 int janus_sdp_parse_ssrc(void *stream, const char *ssrc_attr, int video);
72 
77 
82 char *janus_sdp_merge(void *handle, janus_sdp *sdp);
84 
85 #endif
janus_sdp * janus_sdp_preparse(const char *jsep_sdp, char *error_str, size_t errlen, int *audio, int *video, int *data, int *bundle, int *rtcpmux, int *trickle)
Method to pre-parse a session description.
Definition: sdp.c:28
SDP utilities (headers)
ogg_stream_state * stream
Definition: pp-opus.c:31
Janus SDP internal object representation.
Definition: sdp-utils.h:23
int janus_sdp_process(void *handle, janus_sdp *sdp)
Method to process a parsed session description.
Definition: sdp.c:66
int janus_sdp_parse_candidate(void *stream, const char *candidate, int trickle)
Method to parse a single candidate.
Definition: sdp.c:331
int janus_sdp_anonymize(janus_sdp *sdp)
Method to strip/anonymize a session description.
Definition: sdp.c:567
char * janus_sdp_merge(void *handle, janus_sdp *sdp)
Method to merge a stripped session description and the right transport information.
Definition: sdp.c:685
int janus_sdp_parse_ssrc(void *stream, const char *ssrc_attr, int video)
Method to parse a SSRC attribute.
Definition: sdp.c:537