updated with the latest changes.
authorZeeshan Ali <zeenix@gmail.com>
Sat, 16 Nov 2002 19:28:01 +0000 (19:28 +0000)
committerZeeshan Ali <zeenix@gmail.com>
Sat, 16 Nov 2002 19:28:01 +0000 (19:28 +0000)
Original commit message from CVS:
updated with the latest changes.

gst/udp/README
gst/udp/gstudp.h [new file with mode: 0644]

index e032e74..5191cc6 100644 (file)
@@ -1,28 +1,22 @@
 * What is UDP src/sink?
 
 This plugin is *not* meant to be a professional stream broadcast
-solution, like icecast or realaudio or whatever.
-
-This plugin is basically for testing and simple hacks: raw audio
-or packetized gsm should be fine.
-
+solution, like icecast or realaudio or whatever. But the future RTP plugins shall not do the actual transmission/reception of packets on the network themselve but the Application developer would be encouraged to use these plugins for that.
 
 * Shortcomings
 
-Even given our modest ambitions, the current code is doesn't handle
+Even given our modest ambitions, the current code doesn't handle
 caps negotiation robustly.
 
-
 * Todo
 
-This plugin should offer different modes for caps negotiation: none,
-udp, or tcp.  The udp mode should include the caps every five packets
+The udp mode should include the caps every five packets
 (approx).  The tcp mode can do bi-directional negotiation.
 
 Perhaps this plugin can be the example of how to do caps negotiation
 via a point-to-point protocol.
 
-
 12 Sep 2001
 Wim Taymans <wim.taymans@chello.be>
 Joshua N Pritikin <vishnu@pobox.com>
+Zeeshan Ali <zak147@yahoo.com>
diff --git a/gst/udp/gstudp.h b/gst/udp/gstudp.h
new file mode 100644 (file)
index 0000000..b069453
--- /dev/null
@@ -0,0 +1,35 @@
+/* GStreamer
+ * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+
+#ifndef __GST_UDP_H__
+#define __GST_UDP_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef enum {
+  CONTROL_ZERO,
+  CONTROL_NONE,
+  CONTROL_UDP,
+  CONTROL_TCP
+} Gst_UDP_Control;
+
+#endif