40 #include <sys/types.h>
61 typedef struct sout_stream_id_t sout_stream_id_t;
72 sout_access_out_sys_t *p_sys;
81 enum access_out_query_e
83 ACCESS_OUT_CONTROLS_PACE,
87 #define sout_AccessOutNew( obj, access, name ) \
88 sout_AccessOutNew( VLC_OBJECT(obj), access, name )
98 if( sout_AccessOutControl( p_ao, ACCESS_OUT_CONTROLS_PACE, &b ) )
119 int (*pf_control) (
sout_mux_t *, int, va_list );
126 sout_mux_sys_t *p_sys;
131 bool b_add_stream_any_time;
132 bool b_waiting_stream;
137 enum sout_mux_query_e
140 MUX_CAN_ADD_STREAM_WHILE_MUXING,
142 MUX_GET_ADD_STREAM_WAIT,
149 block_fifo_t *p_fifo;
157 VLC_API
void sout_MuxDeleteStream( sout_mux_t *,
sout_input_t * );
158 VLC_API
void sout_MuxDelete( sout_mux_t * );
159 VLC_API
void sout_MuxSendBuffer( sout_mux_t *, sout_input_t *,
block_t * );
160 VLC_API
int sout_MuxGetStream(sout_mux_t *,
int ,
mtime_t *);
162 static inline
int sout_MuxControl( sout_mux_t *p_mux,
int i_query, ... )
167 va_start( args, i_query );
168 i_result = p_mux->pf_control( p_mux, i_query, args );
189 int (*pf_del)( sout_stream_t *, sout_stream_id_t * );
191 int (*pf_send)( sout_stream_t *, sout_stream_id_t *, block_t* );
193 sout_stream_sys_t *p_sys;
203 return s->pf_add( s, fmt );
205 static inline int sout_StreamIdDel(
sout_stream_t *s, sout_stream_id_t *
id )
207 return s->pf_del( s,
id );
209 static inline int sout_StreamIdSend(
sout_stream_t *s, sout_stream_id_t *
id, block_t *b )
211 return s->pf_send( s,
id, b );
219 #define sout_EncoderCreate(o) sout_EncoderCreate(VLC_OBJECT(o))
224 VLC_API session_descriptor_t* sout_AnnounceRegisterSDP(
vlc_object_t *,
const char *,
const char * ) VLC_USED;
225 VLC_API
int sout_AnnounceUnRegister(
vlc_object_t *,session_descriptor_t* );
226 #define sout_AnnounceRegisterSDP(o, sdp, addr) \
227 sout_AnnounceRegisterSDP(VLC_OBJECT (o), sdp, addr)
228 #define sout_AnnounceUnRegister(o, a) \
229 sout_AnnounceUnRegister(VLC_OBJECT (o), a)
235 VLC_API
char * vlc_sdp_Start( vlc_object_t *obj,
const char *cfgpref,
const struct sockaddr *src,
size_t srclen,
const struct sockaddr *addr,
size_t addrlen ) VLC_USED;
236 VLC_API
char * sdp_AddMedia(
char **sdp,
const char *type,
const char *protocol,
int dport,
unsigned pt,
bool bw_indep,
unsigned bw,
const char *ptname,
unsigned clockrate,
unsigned channels,
const char *fmtp);
237 VLC_API
char * sdp_AddAttribute(
char **sdp,
const char *name,
const char *fmt, ...) VLC_FORMAT( 3, 4 );
Definition: vlc_configuration.h:156
Definition: vlc_sout.h:64
Definition: vlc_sout.h:176
Definition: vlc_sout.h:104
int64_t mtime_t
Definition: vlc_common.h:153
int i_out_pace_nocontrol
Definition: vlc_sout.h:52
Definition: vlc_sout.h:45
Definition: vlc_block.h:102
Definition: vlc_sout.h:240
Definition: vlc_objects.h:42
Definition: vlc_codec.h:150
VLC_API char struct sout_description_data_t sout_description_data_t