main.run_stream
mockup_streamer.main.run_stream(
stop_event=threading.Event(),
conf_pth=Path('./config/streams.toml'),
)Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| stop_event | threading.Event | event used to stop the streaming | threading.Event() |
| conf | dict | Configuration dictionary. If empty, will load the config specified at CONF_PATH (./configs/streaming.yaml). |
required |
Returns
| Name | Type | Description |
|---|---|---|
| int | returns 0 |