rtviClient.registerHelper(service, helper);
services
map. An exception is thrown if no matching
service can be found. Note: targeting services is required for scenarios where
a pipeline contains multiple declarations of the same service type. For
example, your pipeline may have two or more LLM services registered.RTVIClientHelper
.RTVIClientHelper
base class requires that a helper define a handleMessage
method.
Any RTVI messages received from the transport that does not match native voice client message types are passed through to your client’s registered helpers:
RTVIClientHelper
class is intentionally lightweight to provide as much flexibility to the developer as needed.
A typical helper definition will likely include: