{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/cognitive-services-speech-sdk-js/issues/55","repository_url":"https://api.github.com/repos/microsoft/cognitive-services-speech-sdk-js","labels_url":"https://api.github.com/repos/microsoft/cognitive-services-speech-sdk-js/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/cognitive-services-speech-sdk-js/issues/55/comments","events_url":"https://api.github.com/repos/microsoft/cognitive-services-speech-sdk-js/issues/55/events","html_url":"https://github.com/microsoft/cognitive-services-speech-sdk-js/issues/55","id":432832605,"node_id":"MDU6SXNzdWU0MzI4MzI2MDU=","number":55,"title":"SDK hanging up on audio files after first sentence / 15 seconds","user":{"login":"noopkat","id":1411284,"node_id":"MDQ6VXNlcjE0MTEyODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1411284?v=4","gravatar_id":"","url":"https://api.github.com/users/noopkat","html_url":"https://github.com/noopkat","followers_url":"https://api.github.com/users/noopkat/followers","following_url":"https://api.github.com/users/noopkat/following{/other_user}","gists_url":"https://api.github.com/users/noopkat/gists{/gist_id}","starred_url":"https://api.github.com/users/noopkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noopkat/subscriptions","organizations_url":"https://api.github.com/users/noopkat/orgs","repos_url":"https://api.github.com/users/noopkat/repos","events_url":"https://api.github.com/users/noopkat/events{/privacy}","received_events_url":"https://api.github.com/users/noopkat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-04-13T10:25:49Z","updated_at":"2019-05-29T04:50:49Z","closed_at":null,"author_association":"NONE","body":"Hi there 😄 \r\n\r\nWhen I use this SDK with long, multi-sentence audio files, the SDK appears to hang up the socket connection after the first sentence is recognised, and abandons the rest of the audio. The process then exits.\r\n\r\n[On the following documentation page](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-to-text), it infers that the SDK can process long audio files:\r\n\r\n> Continuous transcription of long utterances and streaming audio (>15 seconds). Supports interim and final transcription results.\r\n\r\n**To reproduce:**\r\n\r\nI tried running the following code sample from the official [NodeJS Quickstart](https://docs.microsoft.com/en-us/javascript/api/overview/azure/speech-service?view=azure-node-latest). I made no modifications aside from the audio file name in both tests I did.\r\n\r\n[Here are two audio samples](https://github.com/noopkat/ms-bing-speech-service/tree/master/examples/node/samples) I tested with. They are both mono and 16kHz. \r\n\r\nIt is important to note that **both of these audio files have worked perfectly with the previous versions of the Translator and Bing Speech websocket endpoints**, as I have used them for benchmarking in the past when writing software to interface with the endpoints.\r\n\r\nIt's because of this previous point that I don't believe the gaps between sentences are long enough to trigger an end of speech event, so I'm not exactly sure what is going on. Do I need to change the recognition mode? I had trouble finding detailed documentation about this use case.\r\n\r\nI would love to be able to stop using my own code and switch to the official SDK but this is a bit of a showstopper for me. Any help or pointers would be wonderful; thank you so much for your time 🙏 🙇‍♀️ \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/microsoft/cognitive-services-speech-sdk-js/issues/comments/496783148","html_url":"https://github.com/microsoft/cognitive-services-speech-sdk-js/issues/55#issuecomment-496783148","issue_url":"https://api.github.com/repos/microsoft/cognitive-services-speech-sdk-js/issues/55","id":496783148,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5Njc4MzE0OA==","user":{"login":"rhurey","id":13647168,"node_id":"MDQ6VXNlcjEzNjQ3MTY4","avatar_url":"https://avatars0.githubusercontent.com/u/13647168?v=4","gravatar_id":"","url":"https://api.github.com/users/rhurey","html_url":"https://github.com/rhurey","followers_url":"https://api.github.com/users/rhurey/followers","following_url":"https://api.github.com/users/rhurey/following{/other_user}","gists_url":"https://api.github.com/users/rhurey/gists{/gist_id}","starred_url":"https://api.github.com/users/rhurey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhurey/subscriptions","organizations_url":"https://api.github.com/users/rhurey/orgs","repos_url":"https://api.github.com/users/rhurey/repos","events_url":"https://api.github.com/users/rhurey/events{/privacy}","received_events_url":"https://api.github.com/users/rhurey/received_events","type":"User","site_admin":false},"created_at":"2019-05-29T04:50:49Z","updated_at":"2019-05-29T04:50:49Z","author_association":"CONTRIBUTOR","body":"And I'm going to open this back up, as none of our Node samples use continuous recognition, its just the browser based ones that do. So adding one for node needs to be done."}}
{"actor":{"display_login":"rhurey"}}