updated with the latest changes.

Original commit message from CVS:
updated with the latest changes.
This commit is contained in:
Zeeshan Ali 2002-11-16 19:28:01 +00:00
parent 766a544f35
commit b65886cfa5
2 changed files with 39 additions and 10 deletions

View 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>

35
gst/udp/gstudp.h Normal file
View file

@ -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