Git Product home page Git Product logo

Comments (4)

pchab avatar pchab commented on June 28, 2024

I'll need more informations:
What steps led to this ? Does this happen everytime / often / rarely ?

from androidrtc.

sharatmohan avatar sharatmohan commented on June 28, 2024

I always get this when calling from browser to android

07-21 12:41:04.670 3411-3533/fr.pchab.AndroidRTC D/WebRtcAudioRecord? InitRecording(sampleRate=44100)
07-21 12:41:04.670 3411-3533/fr.pchab.AndroidRTC D/WebRtcAudioRecord? AudioRecord.getMinBufferSize: 4096
07-21 12:41:04.670 3411-3533/fr.pchab.AndroidRTC D/WebRtcAudioRecord? bufferSizeInBytes: 4096
07-21 12:41:04.680 153-153/? W/AudioPolicyManagerBase? getInput() could not find profile for device 100000, samplingRate 44100, format 1,channelMask 0010
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC E/AudioRecord? Could not get audio input for record source 7
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC E/AudioRecord-JNI? Error creating AudioRecord instance: initialization check failed.
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC E/AudioRecord-Java? [ android.media.AudioRecord ] Error code -20 when initializing native AudioRecord object.
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC W/System.err? java.lang.AssertionError: Expected condition to be true
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC W/System.err? at org.webrtc.voiceengine.WebRtcAudioRecord.assertTrue(WebRtcAudioRecord.java:278)
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC W/System.err? at org.webrtc.voiceengine.WebRtcAudioRecord.InitRecording(WebRtcAudioRecord.java:221)
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC W/System.err? at dalvik.system.NativeStart.run(Native Method)
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC E/rtc? #
# Fatal error in ../../webrtc/modules/audio_device/android/audio_record_jni.cc, line 141
# Check failed: !jni->ExceptionCheck()
#
#
07-21 12:41:04.680 3411-3533/fr.pchab.AndroidRTC A/libc? Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 3533 (Thread-3127)

from androidrtc.

KristjanLiiva avatar KristjanLiiva commented on June 28, 2024

@zhongkun I ran into this, when I used another application that uses voice recognition before using AndroidRTC. So I would assume that the AndroidRTC could not access the microphone, and just crashes when it tries to do so.

from androidrtc.

ZengHongHua avatar ZengHongHua commented on June 28, 2024

me to the same question, because a application was use mic, stop it .

from androidrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.