Skip to content
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

getFunction for _socket WebSocket in LiveClient for live transcription with twilio #289

Open
Rajan-Gupta1 opened this issue May 14, 2024 · 2 comments

Comments

@Rajan-Gupta1
Copy link

Proposed changes

Provide a get method getW3CWebSocket() to return the URI

Context

To be able to live transcription from a Twilio Live Stream, Twiml





This should avoid setting up a webproxy server as described here https://deepgram.com/learn/deepgram-twilio-streaming for simple cases where one needs to get the transcription, show it to user and then be able to send the complete transcription to OpenAI for summarization

Possible Implementation

public getW3CSocket() {
return this._socket
}

Other information

@lukeocodes
Copy link
Contributor

Check out draft PR #283 which makes the socket connection public. That Twilio blog also predates a ton of improvements we've made

@Rajan-Gupta1
Copy link
Author

Awesome Thank You.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants