A wrapper class for C++ TSProcessor.
More...
|
|
list | add_input_stuffing = [0, 0] |
| | Option --add-input-stuffing nullpkt/inpkt (two values).
|
|
int | add_start_stuffing = 0 |
| | Option --add-start-stuffing.
|
|
int | add_stop_stuffing = 0 |
| | Option --add-stop-stuffing.
|
|
str | app_name = "" |
| | Application name, for help messages.
|
|
int | bitrate = 0 |
| | Option --bitrate.
|
|
int | bitrate_adjust_interval = 5000 |
| | Option --bitrate-adjust-interval (in milliseconds).
|
|
int | buffer_size = 16 * 1024 * 1024 |
| | Option --buffer-size-mb (in bytes here).
|
|
bool | ignore_joint_termination = False |
| | Option --ignore-joint-termination.
|
|
int | initial_input_packets = 0 |
| | Option --initial-input-packets (zero means default).
|
|
list | input = [] |
| | Input plugin name and arguments (list of strings).
|
|
bool | log_plugin_index = False |
| | Option --log-plugin-index.
|
|
int | max_flushed_packets = 0 |
| | Option --max-flushed-packets (zero means default).
|
|
int | max_input_packets = 0 |
| | Option --max-input-packets (zero means default).
|
|
int | max_output_packets = 0 |
| | Option --max-output-packets (zero means unlimited).
|
|
list | output = [] |
| | Output plugin name and arguments (list of strings).
|
|
list | plugins = [] |
| | Packet processor plugins names and arguments (list of lists of strings).
|
|
int | receive_timeout = 0 |
| | Option --receive-timeout.
|
A wrapper class for C++ TSProcessor.
◆ __init__()
| tsduck.TSProcessor.__init__ |
( |
| self, |
|
|
| report ) |
◆ delete()
| tsduck.TSProcessor.delete |
( |
| self | ) |
|
Explicitly free the underlying C++ object.
After this call, the object becomes unusable. Most usages are unpredictable but most likely will do nothing.
- Returns
- None.
Reimplemented from tsduck.NativeObject.
◆ start()
| tsduck.TSProcessor.start |
( |
| self | ) |
|
Start the TS processor.
All properties shall have been set before calling this method.
- Returns
- None.
◆ abort()
| tsduck.TSProcessor.abort |
( |
| self | ) |
|
◆ waitForTermination()
| tsduck.TSProcessor.waitForTermination |
( |
| self | ) |
|
Suspend the calling thread until TS processing is completed.
- Returns
- None.
◆ registerEventHandler()
| tsduck.PluginEventHandlerRegistry.registerEventHandler |
( |
| self, |
|
|
| handler, |
|
|
| event_code ) |
|
inherited |
Register an event handler by event code.
- Parameters
-
- Returns
- None.
◆ registerInputEventHandler()
| tsduck.PluginEventHandlerRegistry.registerInputEventHandler |
( |
| self, |
|
|
| handler ) |
|
inherited |
Register an event handler for all events from the input plugin.
- Parameters
-
- Returns
- None.
◆ registerOutputEventHandler()
| tsduck.PluginEventHandlerRegistry.registerOutputEventHandler |
( |
| self, |
|
|
| handler ) |
|
inherited |
Register an event handler for all events from the output plugin.
- Parameters
-
- Returns
- None.
◆ _setNative()
| tsduck.NativeObject._setNative |
( |
| self, |
|
|
| obj ) |
|
protectedinherited |
Set the native object.
This is typically done by subclass constructors.
- Parameters
-
| obj | Address of the C++ native object to store. |
◆ _getNative()
| tsduck.NativeObject._getNative |
( |
| self | ) |
|
|
protectedinherited |
Get the native object.
This is typically used by subclasses.
- Returns
- Address of the C++ native object.
The documentation for this class was generated from the following file: