Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
App sinks.
val pull_buffer_string : t -> string
Pull a buffer in string format.
val emit_signals : t -> unit
Enable signal emitting.
val is_eos : t -> bool
Check whether the end of stream was reached.
val on_new_sample : t -> (unit -> unit) -> unit
Register a callback which will be called whenever a sample (a buffer in GStreamer terminology) is available. emit_signals
should be called first in order for the callback to be called.
val set_max_buffers : t -> int -> unit
Set the maximal number of internal buffers.