khanhuitse05 / speech-and-text-unity-ios-android

Speed to text in Unity iOS use Native Speech Recognition
MIT License
297 stars 126 forks source link

The recording doesn't stop immediately #68

Open RoxDevvv opened 2 years ago

RoxDevvv commented 2 years ago

The recording doesn't stop immediately but it stay recording for a while until the room quiet and it will stop

   public void OnPointerDown(PointerEventData eventData)
    {
        talkResults.StartRecording();
    }

    public void OnPointerUp(PointerEventData eventData)
    {
        talkResults.StopRecording();
    }