Comments (4)
Hi @bhigy! Though we don't suggest streaming files to our real-time API, we did roll out a change last week that should allow the websocket to stay open when this is done. Could you confirm that you're still experiencing this issue and if so, provide the code you're using so we can investigate?
from deepgram-python-sdk.
Thanks for the fast reply. I thought this was probably not the intended use. I will try to reproduce the issue and update the code to see if it solves the problem.
Otherwise, how would you recommend proceeding? Just waiting between each chunk to simulate real time?
from deepgram-python-sdk.
Just to be sure, is the change on the client or the server side? I tried again and it didn't idle a single time...
from deepgram-python-sdk.
@bhigy The change is on the server side. Glad to hear it's working and you're no longer experiencing this issue! Please feel free to close this out.
That said, we do suggest adding a wait between each chunk to stream in real-time, as you mentioned. This ensures your testing is as close to a real-world streaming application as possible.
from deepgram-python-sdk.
Related Issues (20)
- Examine Legacy Syntax and Verify/Identify Issues HOT 1
- Extra (parameter) results not present in per-message metadata response HOT 1
- Deepgram audio timeout window error HOT 20
- Implement TTS HOT 2
- Fix PyDocs to Only Generate on GA `vX.Y.Z` HOT 1
- Error: keepalive ping timeout; no close frame received HOT 6
- Pyright type definitions check fails with upgrade to 3.1.5 HOT 3
- Misc Typing Bug HOT 1
- StreamSource is broken in latest SDK (3.1.5) HOT 5
- Fatal error on SSL transport HOT 3
- Include `encoding` and `sampling_rate` in Prerecorded API HOT 1
- Clarify Support for Examples on Windows HOT 4
- Improved Websocket support for Latency HOT 1
- Improve retries for failed Requests HOT 1
- Improved chunking of TTS HOT 1
- Keepalive thread throws errors even when the "keepalive" option is not set HOT 5
- Custom Headers per REST and WS Call HOT 1
- Implement `UnhandledEvent()` like in Go SDK HOT 1
- Implement Flush Feature
- Unhandled exceptions in AsyncLiveClient._listening HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepgram-python-sdk.