toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.codecs
/
VideoDecoder
Video
Decoder
open
external
class
VideoDecoder
(
init
:
VideoDecoderInit
)
:
EventTarget
(
source
)
Available only in secure contexts.
MDN Reference
Members
Constructors
Video
Decoder
Link copied to clipboard
constructor
(
init
:
VideoDecoderInit
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
decode
Queue
Size
Link copied to clipboard
val
decodeQueueSize
:
Int
MDN Reference
dequeue
Event
Link copied to clipboard
val
dequeueEvent
:
EventInstance
<
Event
,
VideoDecoder
,
VideoDecoder
>
MDN Reference
ondequeue
Link copied to clipboard
var
ondequeue
:
EventHandler
<
Event
,
VideoDecoder
,
VideoDecoder
>
?
MDN Reference
state
Link copied to clipboard
val
state
:
CodecState
MDN Reference
Functions
close
Link copied to clipboard
fun
close
(
)
MDN Reference
configure
Link copied to clipboard
fun
configure
(
config
:
VideoDecoderConfig
)
MDN Reference
decode
Link copied to clipboard
fun
decode
(
chunk
:
EncodedVideoChunk
)
MDN Reference
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
flush
Link copied to clipboard
suspend
fun
flush
(
)
MDN Reference
flush
Async
Link copied to clipboard
fun
flushAsync
(
)
:
Promise
<
Void
>
reset
Link copied to clipboard
fun
reset
(
)
MDN Reference