view libmpdemux/demux_rtp.h @ 20276:f0f6217f58e2

r20257: Disable loading of file-specific configuration file from the same directory as the played file. Add a command-line switch to enable it. r20260: Update x264 option names that changed with r20060 r20264: small grammar fix r20265: Use American spelling of "gray" instead for British's "grey" for XviD option r20277: Update x264 option names that changed with r20060 r20279: mention new -use-filedir-conf option in general config description r20280: remove me=3 leftover (x264)
author kraymer
date Tue, 17 Oct 2006 11:21:11 +0000
parents 281d155fb37f
children 4d81dbdf46b9
line wrap: on
line source

#ifndef _DEMUX_RTP_H
#define _DEMUX_RTP_H

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

#ifndef __STREAM_H
#include "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