-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change mrcp_server to not store handler on registrar #26
Comments
I tried to do this change. but ctx.children.has(uuid) is returning false when the handler exists as child of mrcp_server:
So I will put this on hold. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the current code, when mrcp_server gets SESSION_CREATED, it instantiates a resource handler and stores it in the call in the registrar.
However, reading:
https://nact.io/en_uk/lesson/javascript/hierarchy
this is not necessary:
we just need to create the resource handler passing the uuid as its name and when an MRCP message with that uuid arrives we can check if there is a children using that name and if yes, relay the message to it.
The text was updated successfully, but these errors were encountered: