BufferedChangeEvent Class

The event fired when the buffered ranges of a ManagedSourceBuffer change (https://w3c.github.io/media-source/#bufferedchangeevent-interface).

public sealed class BufferedChangeEvent : Event
Inheritance
Event BufferedChangeEvent

Constructors

NameDescription
BufferedChangeEvent(string, BufferedChangeEventInit?)Creates a buffered change event with the given type and initialization dictionary.

BufferedChangeEvent(string, BufferedChangeEventInit?)

ManagedMediaSource.cs

Creates a buffered change event with the given type and initialization dictionary.

public BufferedChangeEvent(string type, BufferedChangeEventInit? eventInitDict = null)

Properties

NameDescription
AddedRangesGets the time ranges added since the last updatestart event.
RemovedRangesGets the time ranges removed since the last updatestart event.

Gets the time ranges added since the last updatestart event.

public TimeRanges AddedRanges { get; }

Gets the time ranges removed since the last updatestart event.

public TimeRanges RemovedRanges { get; }