Title: Recognition 调用paraformer-realtime-v2 无ASR信息返回 · Issue #161 · dashscope/dashscope-sdk-java · GitHub
Open Graph Title: Recognition 调用paraformer-realtime-v2 无ASR信息返回 · Issue #161 · dashscope/dashscope-sdk-java
X Title: Recognition 调用paraformer-realtime-v2 无ASR信息返回 · Issue #161 · dashscope/dashscope-sdk-java
Description: 现象: 使用Recognition .streamCall(param, source) 进行ASR识别, 当长时间不说话后,再说一两句,就会无ASR内容返回,但实际已经响应 参数:RecognitionParam.builder() .model(model) .format(effectiveFormat) .sampleRate(effectiveSampleRate) .parameter("heartbeat", true) .parameter("seman...
Open Graph Description: 现象: 使用Recognition .streamCall(param, source) 进行ASR识别, 当长时间不说话后,再说一两句,就会无ASR内容返回,但实际已经响应 参数:RecognitionParam.builder() .model(model) .format(effectiveFormat) .sampleRate(effectiveSampleRate) .parame...
X Description: 现象: 使用Recognition .streamCall(param, source) 进行ASR识别, 当长时间不说话后,再说一两句,就会无ASR内容返回,但实际已经响应 参数:RecognitionParam.builder() .model(model) .format(effectiveFormat) .sampleRate(effectiveSampleRate) .parame...
Opengraph URL: https://github.com/dashscope/dashscope-sdk-java/issues/161
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Recognition 调用paraformer-realtime-v2 无ASR信息返回","articleBody":"现象:\n使用Recognition .streamCall(param, source) 进行ASR识别, 当长时间不说话后,再说一两句,就会无ASR内容返回,但实际已经响应\n\n参数:RecognitionParam.builder()\n .model(model)\n .format(effectiveFormat)\n .sampleRate(effectiveSampleRate)\n .parameter(\"heartbeat\", true)\n .parameter(\"semantic_punctuation_enabled\", true)\n .apiKey(aliConfig.getAli().getApiKey())\n .build();\n预期: OkHttpWebSocketClient 后有Recognition 也进行日志打印\n2025-12-16 17:17:02.654 DEBUG [] pe.protocol.okhttp.OkHttpWebSocketClient.onMessage:245 : {\"header\":{\"task_id\":\"bdd3c1c4-3969-4eda-8533-ea5abdb9ccd4\",\"event\":\"result-generated\",\"attributes\":{}},\"payload\":{\"output\":{\"sentence\":{\"sentence_id\":2,\"begin_time\":23560,\"end_time\":null,\"text\":\"那你们几\",\"channel_id\":0,\"speaker_id\":null,\"sentence_end\":false,\"words\":[{\"begin_time\":23560,\"end_time\":23820,\"text\":\"那你\",\"punctuation\":\"\",\"fixed\":false,\"speaker_id\":null},{\"begin_time\":23820,\"end_time\":24080,\"text\":\"们几\",\"punctuation\":\"\",\"fixed\":false,\"speaker_id\":null}]}}}}\n2025-12-16 17:17:02.655 DEBUG [] hscope.audio.asr.recognition.Recognition.lambda$streamCall$4:146 : Recv Result: 那你们几, isEnd: false\n\n实际:OkHttpWebSocketClient 后无 Recognition 日志打印\n2025-12-16 17:17:24.147 DEBUG [] pe.protocol.okhttp.OkHttpWebSocketClient.onMessage:245 : {\"header\":{\"task_id\":\"e2041bb2-4421-48af-b814-aa6de32f14ab\",\"event\":\"result-generated\",\"attributes\":{}},\"payload\":{\"output\":{\"sentence\":{\"sentence_id\":0,\"begin_time\":0,\"end_time\":null,\"text\":\"\",\"channel_id\":0,\"speaker_id\":null,\"sentence_end\":false,\"heartbeat\":true,\"words\":[]}}}}\n2025-12-16 17:17:24.261 DEBUG [] hscope.audio.asr.recognition.Recognition.lambda$streamCall$0:120 : send audio frame: 729","author":{"url":"https://github.com/Chris-Like","@type":"Person","name":"Chris-Like"},"datePublished":"2025-12-16T09:28:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/161/dashscope-sdk-java/issues/161"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1830475b-9830-7f34-3f09-1c979fbd559c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8ECA:2A034C:3A2B88:53A8B0:6A6238BD |
| html-safe-nonce | 0416f282a9d378665b46f996c3508960c8aa739c0390ff9523f116f3f4bb7317 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUNBOjJBMDM0QzozQTJCODg6NTNBOEIwOjZBNjIzOEJEIiwidmlzaXRvcl9pZCI6IjM4MTM1OTU3Mzg0MzUzNjkxNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 68017ae9c0f423892be28d2328123e0fd50950093632527130bb05bcaa085005 |
| hovercard-subject-tag | issue:3733951812 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dashscope/dashscope-sdk-java/161/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a1a6a51f9d4ec68dfe67e07090ee5b9de177c270469aa915447098812a7ad7a/dashscope/dashscope-sdk-java/issues/161 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a1a6a51f9d4ec68dfe67e07090ee5b9de177c270469aa915447098812a7ad7a/dashscope/dashscope-sdk-java/issues/161 |
| og:image:alt | 现象: 使用Recognition .streamCall(param, source) 进行ASR识别, 当长时间不说话后,再说一两句,就会无ASR内容返回,但实际已经响应 参数:RecognitionParam.builder() .model(model) .format(effectiveFormat) .sampleRate(effectiveSampleRate) .parame... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Chris-Like |
| hostname | github.com |
| expected-hostname | github.com |
| None | 81a21eb42fd0e80f3094d5be0f523bc284f5792af0333a266ecada0c39501f0f |
| turbo-cache-control | no-preview |
| go-import | github.com/dashscope/dashscope-sdk-java git https://github.com/dashscope/dashscope-sdk-java.git |
| octolytics-dimension-user_id | 127009744 |
| octolytics-dimension-user_login | dashscope |
| octolytics-dimension-repository_id | 882929467 |
| octolytics-dimension-repository_nwo | dashscope/dashscope-sdk-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 882929467 |
| octolytics-dimension-repository_network_root_nwo | dashscope/dashscope-sdk-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 76f36d3a9c09a237d489d4eeeaf6db0b604da73f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width