Speech to Text API Lag Issue in Angular Application

HR Lakshya Technologies 0 Reputation points
2025-04-29T14:57:48.5466667+00:00

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:

  1. Tried to clear subscriptions and recognized and finalized the text subscriptions and tried to restart the service by cleared SDK and reloading
  2. After every response we are restarting the service
  3. 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
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,000 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.