Fork me on GitHub
Loading...
Searching...
No Matches
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
48janus_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
58int janus_sdp_process_remote(void *handle, janus_sdp *sdp, gboolean rids_hml, gboolean update);
59
66int janus_sdp_process_local(void *handle, janus_sdp *sdp, gboolean update);
67
74int janus_sdp_parse_candidate(void *pc, const char *candidate, int trickle);
75
82int janus_sdp_parse_ssrc_group(void *medium, const char *group_attr, int video);
83
90int janus_sdp_parse_ssrc(void *medium, const char *ssrc_attr, int video);
91
96
102char *janus_sdp_merge(void *handle, janus_sdp *sdp, gboolean offer);
104
105#endif
DTLS/SRTP processing (headers)
janus_dtls_role
DTLS roles.
Definition dtls.h:51
SDP utilities (headers)
int janus_sdp_process_local(void *handle, janus_sdp *sdp, gboolean update)
Method to process a local parsed session description.
Definition sdp.c:757
int janus_sdp_parse_ssrc(void *medium, const char *ssrc_attr, int video)
Method to parse a SSRC attribute.
Definition sdp.c:1288
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:146
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:1456
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_group(void *medium, const char *group_attr, int video)
Method to parse a SSRC group attribute.
Definition sdp.c:1192
int janus_sdp_parse_candidate(void *pc, const char *candidate, int trickle)
Method to parse a single candidate.
Definition sdp.c:963
int janus_sdp_anonymize(janus_sdp *sdp)
Method to strip/anonymize a session description.
Definition sdp.c:1315
Janus SDP internal object representation.
Definition sdp-utils.h:26