Class Aggregator.AggregatorClass

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
AudioAggregator.AudioAggregatorClass, VideoAggregator.VideoAggregatorClass
Enclosing class:
Aggregator

public static class Aggregator.AggregatorClass extends Element.ElementClass
The aggregator base class will handle in a thread-safe way all manners of concurrent flushes, seeks, pad additions and removals, leaving to the subclass the responsibility of clipping buffers, and aggregating buffers in the way the implementor sees fit.

It will also take care of event ordering (stream-start, segment, eos).

Basically, a simple implementation will override aggregate, and call _finish_buffer from inside that function.