Method

AravisDevicecreate_stream_full

Declaration [src]

ArvStream*
arv_device_create_stream_full (
  ArvDevice* device,
  ArvStreamCallback callback,
  void* user_data,
  GDestroyNotify destroy,
  GError** error
)

Description [src]

Creates a new ArvStream for video stream handling. See ArvStreamCallback for details regarding the callback function.

Available since:0.8.23

Parameters

callback ArvStreamCallback
 

A frame processing callback.

user_data void*
 

User data for callback.

 The argument can be NULL.
 The data is owned by the caller of the function.
destroy GDestroyNotify
 

A GDestroyNotify placeholder, NULL to ignore.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: ArvStream
 

A new ArvStream.

 The caller of the method takes ownership of the data, and is responsible for freeing it.