+
+typedef int (*pf_rtp_packetizer_t)( sout_stream_id_t *, block_t * );
+
+typedef struct rtp_format_t
+{
+ /* Used for SDP and packetization */
+ uint8_t payload_type;
+ unsigned clock_rate;
+ unsigned channels;
+ int cat;
+ /* Used in SDP only */
+ unsigned bitrate;
+ const char *ptname;
+ char *fmtp;
+ /* Used for packetization only */
+ pf_rtp_packetizer_t pf_packetize;
+} rtp_format_t;
+
+int rtp_get_fmt( vlc_object_t *obj, es_format_t *p_fmt, const char *mux,
+ rtp_format_t *p_rtp_fmt );
+
+/* VoD */
+int OpenVoD ( vlc_object_t * );
+void CloseVoD( vlc_object_t * );
+
+int vod_check_range(vod_media_t *p_media, const char *psz_session,
+ int64_t start, int64_t end);
+void vod_play(vod_media_t *p_media, const char *psz_session,
+ int64_t *start, int64_t end);
+void vod_pause(vod_media_t *p_media, const char *psz_session, int64_t *npt);
+void vod_stop(vod_media_t *p_media, const char *psz_session);
+
+const char *vod_get_mux(const vod_media_t *p_media);
+int vod_init_id(vod_media_t *p_media, const char *psz_session, int es_id,
+ sout_stream_id_t *sout_id, rtp_format_t *rtp_fmt,
+ uint32_t *ssrc, uint16_t *seq_init);
+void vod_detach_id(vod_media_t *p_media, const char *psz_session,
+ sout_stream_id_t *sout_id);
+