gstnetbuffer
gstnetbuffer — Buffer for use in network sources and sinks
|
|
Details
GstNetBuffer
typedef struct {
GstBuffer buffer;
GstNetAddress from;
GstNetAddress to;
} GstNetBuffer;
enum GstNetType
typedef enum {
GST_NET_TYPE_UNKNOWN,
GST_NET_TYPE_IP4,
GST_NET_TYPE_IP6,
} GstNetType;
gst_netbuffer_new ()
GstNetBuffer* gst_netbuffer_new (void);
gst_netaddress_get_ip4_address ()
gboolean gst_netaddress_get_ip4_address (GstNetAddress *nadd,
guint32 *address,
guint16 *port);
nadd : |
|
address : |
|
port : |
|
|
Returns : |
|
gst_netaddress_get_ip6_address ()
gboolean gst_netaddress_get_ip6_address (GstNetAddress *nadd,
guint8 address[16],
guint16 *port);
nadd : |
|
address : |
|
port : |
|
|
Returns : |
|
gst_netaddress_get_net_type ()
GstNetType gst_netaddress_get_net_type (GstNetAddress *nadd);
gst_netaddress_set_ip4_address ()
void gst_netaddress_set_ip4_address (GstNetAddress *nadd,
guint32 address,
guint16 port);
gst_netaddress_set_ip6_address ()
void gst_netaddress_set_ip6_address (GstNetAddress *nadd,
guint8 address[16],
guint16 port);