ArvGvStream

ArvGvStream — Gigabit ethernet camera stream

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── ArvStream
        ╰── ArvGvStream

Description

Functions

arv_gv_stream_new ()

ArvStream *
arv_gv_stream_new (GInetAddress *device_address,
                   guint16 port,
                   ArvStreamCallback callback,
                   void *user_data,
                   guint64 timestamp_tick_frequency,
                   guint packet_size);

[skip]

Parameters

device_address

inet device address for gvsp

 

port

inet port

 

callback

processing callback.

[scope call]

user_data

user data for callback .

[closure]

timestamp_tick_frequency

camera tick frequency for timestamping

 

packet_size

gvsp packet size, in bytes

 

Returns

a new ArvStream.

[transfer full]


arv_gv_stream_get_port ()

guint16
arv_gv_stream_get_port (ArvGvStream *gv_stream);

arv_gv_stream_get_statistics ()

void
arv_gv_stream_get_statistics (ArvGvStream *gv_stream,
                              guint64 *n_resent_packets,
                              guint64 *n_missing_packets);

Types and Values

enum ArvGvStreamSocketBuffer

Members

ARV_GV_STREAM_SOCKET_BUFFER_FIXED

socket buffer is set to a given fixed value

 

ARV_GV_STREAM_SOCKET_BUFFER_AUTO

sockect buffer is set with respect to the payload size

 

enum ArvGvStreamPacketResend

Members

ARV_GV_STREAM_PACKET_RESEND_NEVER

never request a packet resend

 

ARV_GV_STREAM_PACKET_RESEND_ALWAYS

request a packet resend if a packet was missing

 

ArvGvStream

typedef struct _ArvGvStream ArvGvStream;

Property Details

The “frame-retention” property

  “frame-retention”          guint

Packet retention, in µs.

Flags: Read / Write

Allowed values: [1000,10000000]

Default value: 200000


The “packet-resend” property

  “packet-resend”            ArvGvStreamPacketResend

Packet resend behaviour.

Flags: Read / Write

Default value: ARV_GV_STREAM_PACKET_RESEND_ALWAYS


The “packet-timeout” property

  “packet-timeout”           guint

Packet timeout, in µs.

Flags: Read / Write

Allowed values: [1000,10000000]

Default value: 40000


The “socket-buffer” property

  “socket-buffer”            ArvGvStreamSocketBuffer

Socket buffer behaviour.

Flags: Read / Write

Default value: ARV_GV_STREAM_SOCKET_BUFFER_AUTO


The “socket-buffer-size” property

  “socket-buffer-size”       gint

Socket buffer size, in bytes.

Flags: Read / Write

Allowed values: >= -1

Default value: 0