summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_nemesi.h
diff options
context:
space:
mode:
authorlu_zero <lu_zero@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-19 21:38:22 +0000
committerlu_zero <lu_zero@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-19 21:38:22 +0000
commit0ff4b3fd9f636939bf3752ac1174fee54108676e (patch)
treed1df96efa52c06e5e0f6d265eaa70b6fc57c4940 /libmpdemux/demux_nemesi.h
parent01cb12a3dfdff9c7306e78986cba485fac163e29 (diff)
downloadmpv-0ff4b3fd9f636939bf3752ac1174fee54108676e.tar.bz2
mpv-0ff4b3fd9f636939bf3752ac1174fee54108676e.tar.xz
libnemesi support, yet another rtsp/rtp library...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24584 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_nemesi.h')
-rw-r--r--libmpdemux/demux_nemesi.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/libmpdemux/demux_nemesi.h b/libmpdemux/demux_nemesi.h
new file mode 100644
index 0000000000..e5f129b4c0
--- /dev/null
+++ b/libmpdemux/demux_nemesi.h
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2007 Alessandro Molina <amol.wrk@gmail.com>
+ * based on previous Live555 RTP support.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+#ifndef DEMUX_NEMESI_H
+#define DEMUX_NEMESI_H
+
+#include <stdlib.h>
+#include <stdio.h>
+#include "stream/stream.h"
+#include "demuxer.h"
+
+
+/**
+ * Open the RTP demuxer
+ */
+demuxer_t* demux_open_rtp(demuxer_t* demuxer);
+
+/**
+ * Read from the RTP demuxer
+ */
+int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds);
+
+/**
+ * Close the RTP demuxer
+ */
+void demux_close_rtp(demuxer_t* demuxer);
+
+#endif /* DEMUX_NEMESI_H */
+