Giter VIP home page Giter VIP logo

Comments (5)

dfw100 avatar dfw100 commented on September 25, 2024

Hi @yuichiro-honda , could you please provide us with additional information such as steps to reproduce and the AWS resource where you are seeing this error?

from ai-powered-speech-analytics-for-amazon-connect.

yuichiro-honda avatar yuichiro-honda commented on September 25, 2024

Hi @dfw100 san.
2つの問いかけにレスポンスありがとうございます。
このサンプルはKVSの45分の制限を超えるために、42分で文字起こしを再実行しているかと思います。
ただし、実際に42分を超えて再実行された時に、その切り替えの20数秒エラーが発生して、
文字起こし結果が欠落します。また、稀に顧客またはオペレータの音声テキスト化が再実行されずに終了します。
推測ですが、再実行時に前のTranscribeの結果が完了していないうちに再実行され、
継続して開始する位置が、Transcribeの結果が完了していない部分より後ろから開始されているのではないかと
思われます。
これは普通に42分以上通話をして、跨ぐ部分で会話をしていれば、毎回再現します。
再現する場合は通話量がもったいないので、42分を5分とかに書き換えて再現したほうがよいです。

from ai-powered-speech-analytics-for-amazon-connect.

angieyu avatar angieyu commented on September 25, 2024

Hi @yuichiro-honda, KVS Session are limited to 45 minutes so we request a new endpoint at 42 minutes and issue a new GetMedia. Please try adjusting the timing in the code.

Please see aws/amazon-kinesis-video-streams-parser-library#108 . We have the same implementation.

Let me know if this answers your question.

from ai-powered-speech-analytics-for-amazon-connect.

yuichiro-honda avatar yuichiro-honda commented on September 25, 2024

from ai-powered-speech-analytics-for-amazon-connect.

kqia040 avatar kqia040 commented on September 25, 2024

Hey @yuichiro-honda thanks for the update. Here is in the code where this is done

// Timeout of 42 minutes because the Max connection duration of Amazon Kinesis Video Streams is 45 mins. The backend closes the connection after this time. The SDK rotates the token and establishes a new connection within this time.

Feel free to update it to see if it suits your use case better. Please keep in mind other API limits if for example if you change it to 5min.

from ai-powered-speech-analytics-for-amazon-connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.