SourceBuffer
Constructors
<init>
Exposes the JavaScript SourceBuffer to Kotlin
SourceBuffer()
Properties
appendWindowEnd
open var appendWindowEnd: Double
appendWindowStart
open var appendWindowStart: Double
audioTracks
open val audioTracks: AudioTrackList
buffered
open val buffered: TimeRanges
mode
open var mode: AppendMode
onupdateend
open var onupdateend: ((Event) -> dynamic)?
onupdatestart
open var onupdatestart: ((Event) -> dynamic)?
textTracks
open val textTracks: TextTrackList
timestampOffset
open var timestampOffset: Double
updating
open val updating: Boolean
videoTracks
open val videoTracks: VideoTrackList
Functions
abort
fun abort()
appendBuffer
fun appendBuffer(data: dynamic)
remove
fun remove(start: Double, end: Double)