Loading...
Searching...
No Matches
sdp.h
Go to the documentation of this file.
#ifndef JANUS_SDP_H
#define JANUS_SDP_H
#include <inttypes.h>
#include "sdp-utils.h"
#include "dtls.h"
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);
int janus_sdp_process_remote(void *handle, janus_sdp *sdp, gboolean rids_hml, gboolean update);
int janus_sdp_process_local(void *handle, janus_sdp *sdp, gboolean update);
int janus_sdp_parse_candidate(void *pc, const char *candidate, int trickle);
int janus_sdp_parse_ssrc_group(void *medium, const char *group_attr, int video);
int janus_sdp_parse_ssrc(void *medium, const char *ssrc_attr, int video);
int janus_sdp_anonymize(janus_sdp *sdp);
char *janus_sdp_merge(void *handle, janus_sdp *sdp, gboolean offer);
#endif
dtls.h
DTLS/SRTP processing (headers)
janus_dtls_role
janus_dtls_role
DTLS roles.
Definition dtls.h:51
sdp-utils.h
SDP utilities (headers)
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:745
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:1272
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:146
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:1442
janus_sdp_preparse
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
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:1176
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:947
janus_sdp_anonymize
int janus_sdp_anonymize(janus_sdp *sdp)
Method to strip/anonymize a session description.
Definition sdp.c:1299
janus_sdp
Janus SDP internal object representation.
Definition sdp-utils.h:26