TSDuck v3.40-4034
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsduck.PluginEventContext Class Reference

Context of a plugin event. More...

Public Member Functions

 __init__ (self)
 Constructor.
 

Public Attributes

 bitrate
 Known bitrate in the context of the plugin at the time of the event.
 
 event_code
 A plugin-defined 32-bit code describing the event type.
 
 max_data_size
 Maximum returned data size in bytes (if they can be modified).
 
 plugin_count
 Total number N of plugins in the chain.
 
 plugin_index
 Plugin index in the chain.
 
 plugin_name
 Plugin name as found in the plugin registry.
 
 plugin_packets
 Number of packets which passed through the plugin at the time of the event.
 
 read_only_data
 Indicate if the event data are read-only or if they can be updated.
 
 total_packets
 Total number of packets which passed through the plugin thread at the time of the event.
 

Detailed Description

Context of a plugin event.

Each time a plugin signals an event for the application, a PluginEventContext instance is built and passed to all registered event handlers for that event.


The documentation for this class was generated from the following file: