baidubce / pie Goto Github PK
View Code? Open in Web Editor NEW百度云流式语音识别客户端 SDK
百度云流式语音识别客户端 SDK
Similar issue like #56 .
Why not make config classes like com.baidu.acu.pie.model.ChannelConfig as POJO?
Users need to re-create a same POJO class to realize Dependency Injection.
I think DI is very common in java development, so please consider to do some modifications.
Java sdk does not slice audio data automatically before send it to streaming server.
It brings two problems:
Java sdk can slice the audio data automatically based on configuration (see AsrClientGrpcImpl#getFragmentSize)
问题描述:
采用百度流式识别开发,
采用https://github.com/baidubce/pie中client_demo_simple.py
修改增加username和password
执行后在获取识别结果时返回错误
2020-04-02 14:49:38,231 - client_demo_simple.py[line:39] - ERROR: encounter an error: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "Socket closed"
debug_error_string = "{"created":"@1585810168.220296937","description":"Error received from peer ipv4:182.61.0.38:8051","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Socket closed","grpc_status":14}"
, will create a new channel and retry audio! times : 1、
重现步骤:
请问如何申请测试的ip、端口和账号信息?
The comment in AsrConfig says it will not provide setters, but actually AsrConfig has methods that can modify its fields.
If modifier is allowed, why not provide standard setters (setXXX)? If standard setters provided,
this class becomes a POJO then can be used more conveniently.
java 客户端同步访问时无法获得服务端的错误信息,无法分辨是实际结果本身为空还是发生异常
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.