1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/libmpdemux/demux_rtp.h
rsf fb9ccf4b03 Added support for checking whether a RTP demuxer contains a combined audio_video stream.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10476 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-27 10:11:42 +00:00

38 lines
922 B
C

#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 SDP file:
stream_t* stream_open_sdp(int fd, off_t fileSize, int* file_format);
// Open a RTSP URL:
int rtsp_streaming_start(stream_t* stream);
// Open a RTP demuxer (which was initiated either from a SDP file,
// or from a RTSP URL):
void 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