Media
Stream
Class
constructor
parent_
class
name
pause
play
realize
seek
unrealize
update_
audio
GJS API Reference
Gtk-4.0
Gtk
MediaStreamClass
Class MediaStreamClass
Hierarchy
MediaStreamClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
pause
play
realize
seek
unrealize
update_
audio
Constructors
constructor
new
Media
Stream
Class
(
)
:
MediaStreamClass
Returns
MediaStreamClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
pause
pause
(
self
:
MediaStream
)
:
void
Parameters
self:
MediaStream
Returns
void
play
play
(
self
:
MediaStream
)
:
boolean
Parameters
self:
MediaStream
Returns
boolean
realize
realize
(
self
:
MediaStream
, surface
:
Gdk
.
Surface
)
:
void
Parameters
self:
MediaStream
surface:
Gdk
.
Surface
Returns
void
seek
seek
(
self
:
MediaStream
, timestamp
:
number
)
:
void
Parameters
self:
MediaStream
timestamp:
number
Returns
void
unrealize
unrealize
(
self
:
MediaStream
, surface
:
Gdk
.
Surface
)
:
void
Parameters
self:
MediaStream
surface:
Gdk
.
Surface
Returns
void
update_
audio
update_
audio
(
self
:
MediaStream
, muted
:
boolean
, volume
:
number
)
:
void
Parameters
self:
MediaStream
muted:
boolean
volume:
number
Returns
void
Media
Stream
Class
constructor
parent_
class
name
pause
play
realize
seek
unrealize
update_
audio
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfNF8wLkd0ay5NZWRpYVN0cmVhbUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdG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