init


Description:


public void init (ref unowned string[]? argv)

Initializes the Clapper library.

Implementations must always call this before using Clapper API.

Because Clapper uses GStreamer internally, this function will also initialize GStreamer before initializing Clapper itself for user convienience, so application does not have to do so anymore.

WARNING: This function will terminate your program if it was unable to initialize for some reason. If you want to do some fallback logic, use [func@Clapper.init_check] instead.

Parameters:

argv

pointer to application's argv

argc

pointer to application's argc


Namespace: Clapper
Package: clapper-0.0