equal
deleted
inserted
replaced
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; |