View Source Membrane.Event.Discontinuity (Membrane Core v1.1.1)

Generic discontinuity event.

This event means that flow of buffers in the stream was interrupted, but stream itself is not done.

Frequent reasons for this are soundcards drops while capturing sound, network data loss etc.

If duration of the discontinuity is known, it can be passed as an argument.

Summary

Types

t()

Generic discontinuity event.

Types

@type duration() :: Membrane.Time.t() | nil
@type t() :: %Membrane.Event.Discontinuity{duration: duration()}

Generic discontinuity event.

This event means that flow of buffers in the stream was interrupted, but stream itself is not done.

Frequent reasons for this are soundcards drops while capturing sound, network data loss etc.

If duration of the discontinuity is known, it can be passed as an argument.