Avnu / detd

Proof-of-concept for a developer-friendly system service to handle time-sensitive applications.
BSD 3-Clause "New" or "Revised" License
17 stars 6 forks source link

Add add_talkers() method #14

Open xtor opened 7 months ago

xtor commented 7 months ago

Currently, we offer an interface to add a single TimeAware stream: https://github.com/Avnu/detd/blob/1a327a11d8a8c6ec9a57940063421e03d641db43/detd/ipc.proto#L4

That is exposed via the InterfaceManager's add_talker method: https://github.com/Avnu/detd/tree/master?tab=readme-ov-file#current-functionality

This ticket is about adding a new method that allows to add multiple talkers on the same interface simultaneously. E.g.: add_talkers([config1, config2, ...])

Or with some additional changes: add_talkers(interface, [config1, config2, ...])

This is specially beneficial in scenarios where the use case configuration involves multiple streams but it is fixed, but the operation of the device prevents to update the streams on the fly.