libamsip
5.2.1
|
Functions | |
int | am_sdpsession_create_offer (int conf_id, sdp_message_t **sdp_request, enum am_media_type *media_types) |
int | am_sdpsession_create_answer (int conf_id, sdp_message_t *sdp_remote, sdp_message_t **sdp_answer, enum am_media_type *media_types) |
int | am_sdpsession_process_answer (int conf_id, int did, sdp_message_t *sdp_offer, sdp_message_t *sdp_remote) |
int | am_sdpsession_stop (int did, int code) |
int am_sdpsession_create_offer | ( | int | conf_id, |
sdp_message_t ** | sdp_request, | ||
enum am_media_type * | media_types | ||
) |
Configure amsip to start a SDP session with media (audio, video, text, udpftp).
conf_id | Conference room number (below #define AMSIP_CONF_MAX) |
sdp_request | SDP request. |
media_types | media_types list |
int am_sdpsession_create_answer | ( | int | conf_id, |
sdp_message_t * | sdp_remote, | ||
sdp_message_t ** | sdp_answer, | ||
enum am_media_type * | media_types | ||
) |
Configure amsip to establish a SIP session from an received offer.
conf_id | Conference room number (below #define AMSIP_CONF_MAX) |
sdp_remote | SDP remote. |
sdp_answer | SDP answer. |
media_types | media_types list |
int am_sdpsession_process_answer | ( | int | conf_id, |
int | did, | ||
sdp_message_t * | sdp_offer, | ||
sdp_message_t * | sdp_remote | ||
) |
Configure amsip to establish a SIP session from a received answer.
conf_id | Conference room number (below #define AMSIP_CONF_MAX) |
did | Session identifier. |
sdp_offer | SDP offer. |
sdp_remote | SDP remote. |
int am_sdpsession_stop | ( | int | did, |
int | code | ||
) |
Configure amsip to stop a SIP session.
did | Session identifier. |
code | Code to use (if answer needed). |