gst_plugins_base/gst/tcp/gsttcp.h
changeset 8 4a7fac7dd34a
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
7:71e347f905f2 8:4a7fac7dd34a
    32 #define TCP_DEFAULT_HOST        "localhost"
    32 #define TCP_DEFAULT_HOST        "localhost"
    33 #define TCP_DEFAULT_PORT        4953
    33 #define TCP_DEFAULT_PORT        4953
    34 
    34 
    35 G_BEGIN_DECLS
    35 G_BEGIN_DECLS
    36 
    36 
       
    37 /**
       
    38  * GstTCPProtocol:
       
    39  * @GST_TCP_PROTOCOL_NONE: Raw data transmission
       
    40  * @GST_TCP_PROTOCOL_GDP: #GstBuffers are wrapped and sent/received using the
       
    41  *      GDP protocol.
       
    42  *
       
    43  * This enum is provided by the tcp/multifd elements to configure the format of
       
    44  * data transmission/reception.
       
    45  *
       
    46  * The GDP protocol wraps data buffers in a header that also carries format
       
    47  * information and timestamps. The None value indicates the data is
       
    48  * sent/received as-is. In that case, format information and timestamping
       
    49  * must be transmitted separately, or implicit in the bytestream itself.
       
    50  */
    37 typedef enum
    51 typedef enum
    38 {
    52 {
    39   GST_TCP_PROTOCOL_NONE,
    53   GST_TCP_PROTOCOL_NONE,
    40   GST_TCP_PROTOCOL_GDP
    54   GST_TCP_PROTOCOL_GDP
    41 } GstTCPProtocol;
    55 } GstTCPProtocol;