Class: FlashSourceBuffer

FlashSourceBuffer

new FlashSourceBuffer(mediaSource)

A SourceBuffer implementation for Flash rather than HTML.
Parameters:
Name Type Description
mediaSource Object the flash media source
Source:

Extends

  • videojs.EventTarget

Methods

abort()

Reset the parser and remove any data queued to be sent to the SWF.
Source:

appendBuffer(bytes)

Append bytes to the sourcebuffers buffer, in this case we have to append it to swf object.
Parameters:
Name Type Description
bytes Array
Source:

remove(start, end)

Flash cannot remove ranges already buffered in the NetStream but seeking clears the buffer entirely. For most purposes, having this operation act as a no-op is acceptable.
Parameters:
Name Type Description
start Double start of the section to remove
end Double end of the section to remove
Source: