![]() |
libgpac
Documentation of the core library of GPAC
|
User-defined filters. More...
Data Structures | |
| interface | CustomFilter |
| interface | _FilterPid |
| interface | _BufferOccupancy |
| interface | _FilterPacket |
| interface | _FilterEvent |
A custom filter allows your application to interact closely with the media pipeline, but cannot be used in graph resolution. Custom filters can be sources, sinks, or intermediate filters. The following limitations however exist:
A custom filter must implement the CustomFilter class, and optionally provide the following methods
A custom filter must also declare its capabilities, input and output, using push_cap method
See GF_Filter
| interface _BufferOccupancy |
buffer occupancy descriptor
| interface _FilterEvent |
event object for filters and GPAC event proc.
The variables defined have the same names as the fields in the various unions of __gf_filter_event.
The variables are defined depending on the event type.
Additional variables are defined:
Events properties are read-only for input events and read/write for events created by the JS code.