Method
ClapperHarvestfill
since: 0.8
Declaration [src]
gboolean
clapper_harvest_fill (
ClapperHarvest* harvest,
const gchar* media_type,
gpointer data,
gsize size
)
Description [src]
Fill harvest with extracted data. It can be anything that GStreamer can parse and play such as single URI or a streaming manifest.
Calling again this function will replace previously filled content.
Commonly used media types are:
-
application/dash+xml
-
application/x-hls
-
text/uri-list
.
Available since: 0.8
Parameters
media_type
-
Type:
const gchar*
Media mime type.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. data
-
Type: An array of
guint8
Data to fill
harvest
.The length of the array is specified in the size
argument. size
-
Type:
gsize
Allocated size of
data
.