yhthu / intercom Goto Github PK
View Code? Open in Web Editor NEW该工程的目标是实现Android局域网内的语音对讲。
该工程的目标是实现Android局域网内的语音对讲。
楼主,你好! 想请教一下你,有没有在华为手机上测试过这个代码?我之前测试:华为手机收不到多播。
你好!有些手机,例如华为,无法接收到MulticastSocket,所以无法播放声音,测试魅族手机是可以的,这个如何解决?
help!
fatal exception on google pixel and nubia z11 miniS:
05-23 15:46:24.420 22170-22170/com.jd.wly.intercom E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.jd.wly.intercom, PID: 22170
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jd.wly.intercom/com.jd.wly.intercom.AudioActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.audiofx.AcousticEchoCanceler.setEnabled(boolean)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2511)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2571)
at android.app.ActivityThread.access$900(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1409)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:171)
at android.app.ActivityThread.main(ActivityThread.java:5620)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.audiofx.AcousticEchoCanceler.setEnabled(boolean)' on a null object reference
at com.jd.wly.intercom.util.AECUtil.initAEC(AECUtil.java:18)
at com.jd.wly.intercom.input.Recorder.(Recorder.java:30)
at com.jd.wly.intercom.input.AudioInput.initJobHandler(AudioInput.java:29)
at com.jd.wly.intercom.input.AudioInput.(AudioInput.java:22)
at com.jd.wly.intercom.AudioActivity.initData(AudioActivity.java:108)
at com.jd.wly.intercom.AudioActivity.onCreate(AudioActivity.java:73)
at android.app.Activity.performCreate(Activity.java:6320)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1121)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2464)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2571)
at android.app.ActivityThread.access$900(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1409)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:171)
at android.app.ActivityThread.main(ActivityThread.java:5620)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
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.