App
Src
Class
constructor
basesrc_
class
name
end_
of_
stream
enough_
data
need_
data
push_
buffer
push_
buffer_
list
push_
sample
seek_
data
GJS API Reference
GstApp-1.0
GstApp
AppSrcClass
Class AppSrcClass
Hierarchy
AppSrcClass
Index
Constructors
constructor
Properties
basesrc_
class
name
Methods
end_
of_
stream
enough_
data
need_
data
push_
buffer
push_
buffer_
list
push_
sample
seek_
data
Constructors
constructor
new
App
Src
Class
(
)
:
AppSrcClass
Returns
AppSrcClass
Properties
basesrc_
class
basesrc_
class
:
GstBase
.
BaseSrcClass
Static
name
name
:
string
Methods
end_
of_
stream
end_
of_
stream
(
appsrc
:
AppSrc
)
:
Gst
.
FlowReturn
Parameters
appsrc:
AppSrc
Returns
Gst
.
FlowReturn
enough_
data
enough_
data
(
appsrc
:
AppSrc
)
:
void
Parameters
appsrc:
AppSrc
Returns
void
need_
data
need_
data
(
appsrc
:
AppSrc
, length
:
number
)
:
void
Parameters
appsrc:
AppSrc
length:
number
Returns
void
push_
buffer
push_
buffer
(
appsrc
:
AppSrc
, buffer
:
Gst
.
Buffer
)
:
Gst
.
FlowReturn
Parameters
appsrc:
AppSrc
buffer:
Gst
.
Buffer
Returns
Gst
.
FlowReturn
push_
buffer_
list
push_
buffer_
list
(
appsrc
:
AppSrc
, buffer_list
:
Gst
.
BufferList
)
:
Gst
.
FlowReturn
Parameters
appsrc:
AppSrc
buffer_list:
Gst
.
BufferList
Returns
Gst
.
FlowReturn
push_
sample
push_
sample
(
appsrc
:
AppSrc
, sample
:
Sample
)
:
Gst
.
FlowReturn
Parameters
appsrc:
AppSrc
sample:
Sample
Returns
Gst
.
FlowReturn
seek_
data
seek_
data
(
appsrc
:
AppSrc
, offset
:
number
)
:
boolean
Parameters
appsrc:
AppSrc
offset:
number
Returns
boolean
App
Src
Class
constructor
basesrc_
class
name
end_
of_
stream
enough_
data
need_
data
push_
buffer
push_
buffer_
list
push_
sample
seek_
data
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3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