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

stream.h File Reference

Media Stream. More...

Data Structures

struct  pjmedia_stream_info
 
struct  pjmedia_stream_dtmf_event
 

Typedefs

typedef struct pjmedia_channel pjmedia_channel
 

Enumerations

enum  pjmedia_stream_dtmf_event_flags {
  PJMEDIA_STREAM_DTMF_IS_UPDATE = (1 << 0) ,
  PJMEDIA_STREAM_DTMF_IS_END = (1 << 1)
}
 

Functions

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_stream_create (pjmedia_endpt *endpt, pj_pool_t *pool, const pjmedia_stream_info *info, pjmedia_transport *tp, void *user_data, pjmedia_stream **p_stream)
 
pj_status_t pjmedia_stream_destroy (pjmedia_stream *stream)
 
char pjmedia_stream_get_last_jb_frame_type (pjmedia_stream *stream)
 
pj_status_t pjmedia_stream_get_port (pjmedia_stream *stream, pjmedia_port **p_port)
 
pjmedia_transportpjmedia_stream_get_transport (pjmedia_stream *st)
 
pj_status_t pjmedia_stream_start (pjmedia_stream *stream)
 
pj_status_t pjmedia_stream_modify_codec_param (pjmedia_stream *stream, const pjmedia_codec_param *param)
 
pj_status_t pjmedia_stream_get_info (const pjmedia_stream *stream, pjmedia_stream_info *info)
 
pj_status_t pjmedia_stream_get_stat (const pjmedia_stream *stream, pjmedia_rtcp_stat *stat)
 
pj_status_t pjmedia_stream_reset_stat (pjmedia_stream *stream)
 
pj_status_t pjmedia_stream_get_stat_jbuf (const pjmedia_stream *stream, pjmedia_jb_state *state)
 
pj_status_t pjmedia_stream_pause (pjmedia_stream *stream, pjmedia_dir dir)
 
pj_status_t pjmedia_stream_resume (pjmedia_stream *stream, pjmedia_dir dir)
 
pj_status_t pjmedia_stream_dial_dtmf (pjmedia_stream *stream, const pj_str_t *ascii_digit)
 
pj_bool_t pjmedia_stream_check_dtmf (pjmedia_stream *stream)
 
pj_status_t pjmedia_stream_get_dtmf (pjmedia_stream *stream, char *ascii_digits, unsigned *size)
 
pj_status_t pjmedia_stream_set_dtmf_callback (pjmedia_stream *stream, void(*cb)(pjmedia_stream *, void *user_data, int digit), void *user_data)
 
pj_status_t pjmedia_stream_set_dtmf_event_callback (pjmedia_stream *stream, void(*cb)(pjmedia_stream *, void *user_data, const pjmedia_stream_dtmf_event *event), void *user_data)
 
pj_status_t pjmedia_stream_send_rtcp_sdes (pjmedia_stream *stream)
 
pj_status_t pjmedia_stream_send_rtcp_bye (pjmedia_stream *stream)
 
pj_status_t pjmedia_stream_get_rtp_session_info (pjmedia_stream *stream, pjmedia_stream_rtp_sess_info *session_info)
 

 


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