Speech to Text API Lag Issue in Angular Application
Issue Details:
- Issue Type: Performance degradation
- Component: Azure Speech to Text API
- Environment: Angular front-end application
- Impact: Production users experiencing significant delays
- Symptoms: Speech recognition response lag after 10-15 minutes of usage
- Device/Browser Variation: Issue severity varies by device and browser
Description:
We have implemented Azure Speech to Text API in our Angular application for microphone functionality. Users are experiencing significant lag in API responses after the application has been running for approximately 10-15 minutes. The lag varies depending on device specifications and browser compatibility. Despite multiple troubleshooting attempts, we have been unable to resolve this issue. This is causing significant user experience problems in our production environment.
Troubleshooting Steps Taken:
- Tried to clear subscriptions and recognized and finalized the text subscriptions and tried to restart the service by cleared SDK and reloading
- After every response we are restarting the service
- Tried to reduce the heap memory by clearing the subscriptions in the components
Technical Details:
- Angular Version: 15
- Azure Speech SDK Version: 1.42.0
- Affected Browsers: All browsers mainly Chrome we are using
- Device Types: Alienware, Dell, HP etc..,
Requested Priority:
High - This issue is affecting production users and requires immediate attention.
Additional Information:
We have taken above troubleshooting steps and no luck,
Contact Information:
- Name: Shiva Prasad
- Email: @gatnix.com/@gatnix.com
- Phone: 326-214-1397