Revision 0351dafc ice.h

View differences:

ice.h
20 20
#include <glib.h>
21 21
#include <agent.h>
22 22

  
23
#include "sdp.h"
23 24
#include "dtls.h"
24 25
#include "sctp.h"
25 26
#include "rtcp.h"
......
589 590
 * @param[in] trickle Whether ICE trickling is supported or not
590 591
 * @returns 0 in case of success, a negative integer otherwise */
591 592
int janus_ice_setup_local(janus_ice_handle *handle, int offer, int audio, int video, int data, int bundle, int rtcpmux, int trickle);
592
/*! \brief Method to add local candidates to the gateway SDP
593
/*! \brief Method to add local candidates to a janus_sdp SDP object representation
593 594
 * @param[in] handle The Janus ICE handle this method refers to
594
 * @param[in,out] sdp The handle description the gateway is preparing
595
 * @param[in] mline The Janus SDP m-line object to add candidates to
595 596
 * @param[in] stream_id The stream ID of the candidate to add to the SDP
596 597
 * @param[in] component_id The component ID of the candidate to add to the SDP */
597
void janus_ice_candidates_to_sdp(janus_ice_handle *handle, char *sdp, guint stream_id, guint component_id);
598
void janus_ice_candidates_to_sdp(janus_ice_handle *handle, janus_sdp_mline *mline, guint stream_id, guint component_id);
598 599
/*! \brief Method to handle remote candidates and start the connectivity checks
599 600
 * @param[in] handle The Janus ICE handle this method refers to
600 601
 * @param[in] stream_id The stream ID of the candidate to add to the SDP

Also available in: Unified diff