view libmpdemux/demux_rtp.h @ 23301:98e5fbff12c8

r23152: Add -ass-hinting option for setting font hinting method. r23261: description for -menu-keepdir option r23283: wrong suboption for vo gif89a r23291: update copyright year' r23308: List dv in pixel formats lavc's dv encoder supports. r23311: add svq1 lavcopts format colorspace r23314: fix formating of lavcopts format suboptions
author kraymer
date Mon, 14 May 2007 21:39:35 +0000
parents 4d81dbdf46b9
children 3f0d00abc073
line wrap: on
line source

#ifndef _DEMUX_RTP_H
#define _DEMUX_RTP_H

#include <stdlib.h>
#include <stdio.h>

#ifndef __STREAM_H
#include "stream/stream.h"
#endif
#ifndef __DEMUXER_H
#include "demuxer.h"
#endif

// Open a RTP demuxer (which was initiated either from a SDP file,
// or from a RTSP URL):
demuxer_t* demux_open_rtp(demuxer_t* demuxer);

// Test whether a RTP demuxer is for a MPEG stream:
int demux_is_mpeg_rtp_stream(demuxer_t* demuxer);

// 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);

// 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);

#endif