diff -r 9b2c3c7a1a9c -r 567bb019e3e3 gst_plugins_base/gst/tcp/gsttcp.h --- a/gst_plugins_base/gst/tcp/gsttcp.h Wed Mar 31 22:03:18 2010 +0300 +++ b/gst_plugins_base/gst/tcp/gsttcp.h Tue Aug 31 15:30:33 2010 +0300 @@ -34,6 +34,20 @@ G_BEGIN_DECLS +/** + * GstTCPProtocol: + * @GST_TCP_PROTOCOL_NONE: Raw data transmission + * @GST_TCP_PROTOCOL_GDP: #GstBuffers are wrapped and sent/received using the + * GDP protocol. + * + * This enum is provided by the tcp/multifd elements to configure the format of + * data transmission/reception. + * + * The GDP protocol wraps data buffers in a header that also carries format + * information and timestamps. The None value indicates the data is + * sent/received as-is. In that case, format information and timestamping + * must be transmitted separately, or implicit in the bytestream itself. + */ typedef enum { GST_TCP_PROTOCOL_NONE,