package gstreamer
Module Gstreamer.App_srcSource
App sources.
Source
val push_buffer_bytes :
t ->
?presentation_time:Int64.t ->
?duration:Int64.t ->
bytes ->
int ->
int ->
unitPush a buffer in bytes format.
Source
val push_buffer_data :
t ->
?presentation_time:Int64.t ->
?duration:Int64.t ->
data ->
int ->
int ->
unitPush a buffer in data format.
Register a callback that will be called when data need to be fed into the source (the argument is the number of bytes needed by the source).