TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
A wrapper class for C++ InputSwitcher. More...
Public Member Functions | |
__init__ (self, report) | |
Constructor. | |
currentInput (self) | |
Get the index of the current input plugin. | |
delete (self) | |
Explicitly free the underlying C++ object. | |
nextInput (self) | |
Switch to the next input plugin. | |
previousInput (self) | |
Switch to the previous input plugin. | |
setInput (self, plugin_index) | |
Switch to another input plugin. | |
start (self) | |
Start the input switcher. | |
stop (self) | |
Terminate the processing. | |
waitForTermination (self) | |
Suspend the calling thread until input switcher session is completed. | |
A wrapper class for C++ InputSwitcher.
tsduck.InputSwitcher.__init__ | ( | self, | |
report | |||
) |
Constructor.
report | The tsduck.Report object to use. |
Reimplemented from tsduck.PluginEventHandlerRegistry.
tsduck.InputSwitcher.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.
Reimplemented from tsduck.NativeObject.
tsduck.InputSwitcher.start | ( | self | ) |
Start the input switcher.
All properties shall have been set before calling this method.
tsduck.InputSwitcher.setInput | ( | self, | |
plugin_index | |||
) |
Switch to another input plugin.
plugin_index | Index of the new input plugin. |
tsduck.InputSwitcher.nextInput | ( | self | ) |
Switch to the next input plugin.
tsduck.InputSwitcher.previousInput | ( | self | ) |
Switch to the previous input plugin.
tsduck.InputSwitcher.currentInput | ( | self | ) |
Get the index of the current input plugin.
tsduck.InputSwitcher.stop | ( | self | ) |
Terminate the processing.
tsduck.InputSwitcher.waitForTermination | ( | self | ) |
Suspend the calling thread until input switcher session is completed.