WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

session.h File Reference

Media Session. More...

Data Structures

struct  pjmedia_session_info
 

Typedefs

typedef struct pjmedia_session pjmedia_session
 

Functions

pj_status_t pjmedia_session_info_from_sdp (pj_pool_t *pool, pjmedia_endpt *endpt, unsigned max_streams, pjmedia_session_info *si, const pjmedia_sdp_session *local, const pjmedia_sdp_session *remote)
 
pj_status_t pjmedia_stream_info_from_sdp (pjmedia_stream_info *si, pj_pool_t *pool, pjmedia_endpt *endpt, const pjmedia_sdp_session *local, const pjmedia_sdp_session *remote, unsigned stream_idx)
 
pj_status_t pjmedia_session_create (pjmedia_endpt *endpt, const pjmedia_session_info *si, pjmedia_transport *transports[], void *user_data, pjmedia_session **p_session)
 
pj_status_t pjmedia_session_get_info (pjmedia_session *session, pjmedia_session_info *info)
 
void * pjmedia_session_get_user_data (pjmedia_session *session)
 
pj_status_t pjmedia_session_resume (pjmedia_session *session, pjmedia_dir dir)
 
pj_status_t pjmedia_session_pause (pjmedia_session *session, pjmedia_dir dir)
 
pj_status_t pjmedia_session_pause_stream (pjmedia_session *session, unsigned index, pjmedia_dir dir)
 
pj_status_t pjmedia_session_resume_stream (pjmedia_session *session, unsigned index, pjmedia_dir dir)
 
pj_status_t pjmedia_session_send_rtcp_sdes (const pjmedia_session *session)
 
pj_status_t pjmedia_session_send_rtcp_bye (const pjmedia_session *session)
 
pj_status_t pjmedia_session_enum_streams (const pjmedia_session *session, unsigned *count, pjmedia_stream_info strm_info[])
 
pj_status_t pjmedia_session_get_port (pjmedia_session *session, unsigned index, pjmedia_port **p_port)
 
pj_status_t pjmedia_session_get_stream_stat (pjmedia_session *session, unsigned index, pjmedia_rtcp_stat *stat)
 
pj_status_t pjmedia_session_reset_stream_stat (pjmedia_session *session, unsigned index)
 
pj_status_t pjmedia_session_get_stream_stat_jbuf (pjmedia_session *session, unsigned index, pjmedia_jb_state *state)
 
pj_status_t pjmedia_session_dial_dtmf (pjmedia_session *session, unsigned index, const pj_str_t *ascii_digits)
 
pj_status_t pjmedia_session_check_dtmf (pjmedia_session *session, unsigned index)
 
pj_status_t pjmedia_session_get_dtmf (pjmedia_session *session, unsigned index, char *ascii_digits, unsigned *size)
 
pj_status_t pjmedia_session_set_dtmf_callback (pjmedia_session *session, unsigned index, void(*cb)(pjmedia_stream *, void *user_data, int digit), void *user_data)
 
pj_status_t pjmedia_session_destroy (pjmedia_session *session)
 

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.