node-sdk icon indicating copy to clipboard operation
node-sdk copied to clipboard

[speech-to-text] Provide access to transaction ID in recognize stream

Open maevesechrist opened this issue 9 years ago • 2 comments

It would be helpful to expose the transaction ID for the STT WebSocket connection for debugging and reporting errors.

maevesechrist avatar Mar 03 '17 20:03 maevesechrist

Thanks for filing the issue here, I almost forgot about this!

nfriedly avatar Mar 03 '17 20:03 nfriedly

Starting with v2.24.0 (which should be released by CI shortly), RecognizeStream instances should have a .getTransactionId() method that returns a Promise that will resolve with the Transaction ID.

nfriedly avatar Mar 03 '17 21:03 nfriedly