A wrapper class for C++ TSProcessor.
More...
|
int | addInputStuffingInput = 0 |
| The inpkt in option --add-input-stuffing nullpkt/inpkt.
|
|
int | addInputStuffingNull = 0 |
| The nullpkt in option --add-input-stuffing nullpkt/inpkt.
|
|
int | addStartStuffing = 0 |
| Option --add-start-stuffing.
|
|
int | addStopStuffing = 0 |
| Option --add-stop-stuffing.
|
|
String | appName = "" |
| Application name, for help messages.
|
|
int | bitrate = 0 |
| Option --bitrate.
|
|
int | bitrateAdjustInterval = 5000 |
| Option --bitrate-adjust-interval (in milliseconds)
|
|
int | bufferSize = 16 * 1024 * 1024 |
| Option --buffer-size-mb (in bytes here)
|
|
boolean | ignoreJointTermination = false |
| Option --ignore-joint-termination.
|
|
int | initialInputPackets = 0 |
| Option --initial-input-packets (zero means default)
|
|
String[] | input = null |
| Input plugin name and arguments (array of strings)
|
|
boolean | logPluginIndex = false |
| Option --log-plugin-index.
|
|
int | maxFlushedPackets = 0 |
| Option --max-flushed-packets (zero means default)
|
|
int | maxInputPackets = 0 |
| Option --max-input-packets (zero means default)
|
|
int | maxOutputPackets = 0 |
| Option --max-output-packets (zero means unlimited)
|
|
String[] | output = null |
| Output plugin name and arguments (array of strings)
|
|
String[][] | plugins = null |
| Packet processor plugins names and arguments (array of arrays of strings)
|
|
int | receiveTimeout = 0 |
| Option --receive-timeout.
|
|
|
long | nativeObject = 0 |
| The address of the underlying C++ object.
|
|
A wrapper class for C++ TSProcessor.
◆ TSProcessor()
io.tsduck.TSProcessor.TSProcessor |
( |
Report |
report | ) |
|
|
inline |
Constructor.
- Parameters
-
report | The report object to use. If null, the logs are dropped. Be sure to specify a thread-safe report such has AsyncReport or a subclass of AbstractAsyncReport. |
◆ start()
native boolean io.tsduck.TSProcessor.start |
( |
| ) |
|
Start the TS processor.
All properties shall have been set before calling this method.
- Returns
- True on success, false on error.
◆ delete()
native void io.tsduck.TSProcessor.delete |
( |
| ) |
|
◆ registerEventHandler()
Register an event handler by event code.
- Parameters
-
handler | An instance of AbstractPluginEventHandler. |
eventCode | The code of the events to handle. |
◆ registerInputEventHandler()
Register an event handler for all events from the input plugin.
- Parameters
-
handler | An instance of AbstractPluginEventHandler. |
◆ registerOutputEventHandler()
Register an event handler for all events from the output plugin.
- Parameters
-
handler | An instance of AbstractPluginEventHandler. |
◆ nativeObject
long io.tsduck.NativeObject.nativeObject = 0 |
|
protectedinherited |
The address of the underlying C++ object.
It is normally accessed by native methods only.
The documentation for this class was generated from the following file: