I'm using the Javascript SDK, and I would like to track usage based on the logged in user. Unfortunately, I have to call the client.listen.live() function before I know the user. Is there a way I can set the tags or extra metadata after the connection is open but before it's closed? If not, please consider this for a future enhancement.
If you're interested, the reason I have to call it early is due to security rules in a Chrome extension. I use the action button to open a side panel, and I have 3 seconds after the action button is clicked (the user gesture) to open the connection. If I wait any longer than that to open the connection, then when I send the audio data, I never get a transcription back. So I go ahead and start transcription as soon as the panel opens, while the panel prompts for the email and password.