Options
All
  • Public
  • Public/Protected
  • All
Menu

A chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments.

Hierarchy

Index

Properties

appendWindowEnd: number
appendWindowStart: number
onabort: null | ((this: internal.SourceBuffer, ev: Event) => any)
onerror: null | ((this: internal.SourceBuffer, ev: Event) => any)
onupdate: null | ((this: internal.SourceBuffer, ev: Event) => any)
onupdateend: null | ((this: internal.SourceBuffer, ev: Event) => any)
onupdatestart: null | ((this: internal.SourceBuffer, ev: Event) => any)
timestampOffset: number
updating: boolean

Methods

  • abort(): void
  • Returns void

  • Parameters

    Returns void

  • changeType(type: string): void
  • Parameters

    • type: string

    Returns void

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

  • remove(start: number, end: number): void
  • Parameters

    • start: number
    • end: number

    Returns void

Generated using TypeDoc