Skip to content

[speech-to-text] "ExampleStreaming" not working #601

@doukasd

Description

@doukasd

ExampleStreaming is not working. Consequently, it's not clear to a developer new to this how to get Speech-to-Text to work using IBM Watson...

Steps to reproduce:

  • Download latest IBM Watson Unity SDK (i got v4.0.0)
  • Download latest IBM Unity Core (I got v1.0.0)
  • Create a new Unity project using your Unity version or preference (I used 2019.2) and drag the unzipped above folders inside it
  • Make sure you are targeting .NET 4,x
  • Open the "ExampleStreaming" scene from the Watson samples
  • Fill in the API key and URL based on your account credentials and set the model to en-US_BroadbandModel
  • Play
  • Observe that nothing changes in the UI, nothing seems to be parsed or returned. Also observer that after a few seconds you get this warning and it seems that it's all stopped at that point:
[10/16/2019 13:37:38][SpeechToText.KeepAlive()][DEBUG] KeepAlive exited.
UnityEngine.Debug:Log(Object)
IBM.Cloud.SDK.Debug.DebugReactor:ProcessLog(LogRecord) (at Assets/IBM/unity-sdk-core-1.0.0/Debug/DebugReactor.cs:68)
IBM.Cloud.SDK.LogSystem:ProcessLog(LogRecord) (at Assets/IBM/unity-sdk-core-1.0.0/Logging/Logger.cs:207)
IBM.Cloud.SDK.Log:Debug(String, String, Object[]) (at Assets/IBM/unity-sdk-core-1.0.0/Logging/Logger.cs:229)
IBM.Watson.SpeechToText.V1.<KeepAlive>d__226:MoveNext() (at Assets/IBM/unity-sdk-4.0.0/Scripts/Services/SpeechToText/V1/SpeechToTextServiceExtension.cs:554)
IBM.Cloud.SDK.Utilities.Routine:MoveNext() (at Assets/IBM/unity-sdk-core-1.0.0/Utilities/Runnable.cs:131)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions