2007-07-02 22:34:45 +00:00
|
|
|
#ifndef DEMUX_RTP_H
|
|
|
|
#define DEMUX_RTP_H
|
2002-08-05 00:39:07 +00:00
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2007-07-02 22:34:45 +00:00
|
|
|
#ifndef STREAM_H
|
2007-03-15 18:36:36 +00:00
|
|
|
#include "stream/stream.h"
|
2002-08-05 00:39:07 +00:00
|
|
|
#endif
|
2007-07-02 22:34:45 +00:00
|
|
|
#ifndef DEMUXER_H
|
2002-08-05 00:39:07 +00:00
|
|
|
#include "demuxer.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Open a RTP demuxer (which was initiated either from a SDP file,
|
|
|
|
// or from a RTSP URL):
|
2004-02-22 06:19:24 +00:00
|
|
|
demuxer_t* demux_open_rtp(demuxer_t* demuxer);
|
2002-08-05 00:39:07 +00:00
|
|
|
|
|
|
|
// Test whether a RTP demuxer is for a MPEG stream:
|
|
|
|
int demux_is_mpeg_rtp_stream(demuxer_t* demuxer);
|
|
|
|
|
2003-07-27 10:11:42 +00:00
|
|
|
// Test whether a RTP demuxer contains combined (multiplexed)
|
|
|
|
// audio+video (and so needs to be demuxed by higher-level code):
|
|
|
|
int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer);
|
|
|
|
|
2002-08-05 00:39:07 +00:00
|
|
|
// Read from a RTP demuxer:
|
|
|
|
int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds);
|
|
|
|
|
|
|
|
// Close a RTP demuxer
|
|
|
|
void demux_close_rtp(demuxer_t* demuxer);
|
|
|
|
|
2007-12-31 16:15:50 +00:00
|
|
|
#endif /* DEMUX_RTP_H */
|