AudioRecord fails on outgoing Call? - android

Could not get audio input for record source 1
: ERROR/AuthorDriver(34): Command 14 completed with error -1
ERROR/MediaRecorder(363): start failed: -1
at android.media.MediaRecorder.start(Native Method)
Getting rror Like this Please Help Me.Its Urgent.todays my submission in college.Plz help me.As soon as possible.

Related

CameraX RuntimeException lock buffer failed for format 0x21

We recently implemented CameraX to take images instead of using the device camera. Since the time we rolled out this feature in our app, we are seeing the following error. Can someone help debug this issue? I have tried googling this error but could not find any resources online.
RuntimeException lock buffer failed for format 0x21
android.media.ImageReader$SurfaceImage in nativeCreatePlanes
android.media.ImageReader$SurfaceImage in getPlanes at line 1004
androidx.camera.core.AndroidImageProxy in <init> at line 51
androidx.camera.core.AndroidImageReaderProxy in acquireNextImage at line 102
androidx.camera.core.MetadataImageReader in imageIncoming at line 322

qt6.4 android Exception in thread "main" java.net.SocketException: Unexpected end of file from server

I try to config qt6.4 android, but it fails. I don't know how to fix it. anyone can help? Thanks!
this is the error output:
I think I need some help.

Android emulator shuts down when accessing video solution (exoplayer)

After some troubleshooting with updating the video solution to Android API 30, I have finally ended up with the following Logcat error after having upgraded Exoplayer to 2.12.0 and imported guava:30.0-jre:
[OMX.android.goldfish.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010
E/FMQ: grantorIdx must be less than 3
E/FMQ: grantorIdx must be less than 3
E/ion: ioctl c0044901 failed with code -1: Inappropriate ioctl for device
E/FMQ: grantorIdx must be less than 3
I have also replaced SimpleExoPlayerView with PlayerView as it caused Inflating class error as described in my previous thread here: Inflating class error with Exoplayer 2.12.0 on Android
Was just wondering if anyone here had a clue for this one. Thanks in advance.
EDIT: I also receive Emulator: Process finished with exit code -1073741571 (0xC00000FD) every time I try to access the video solution. A colleague tried to replicate the error using Linux and it looked like it worked for him.
EDIT2: It looks like it is mainly due to qemu_system-x86-64.exe stops working, which is mainly a Windows-file, so I conclude with this being a bug in Windows rather than Android.

Error from MediaPlayer playing HLS live stream in Android 5.1

I'm getting an odd error from MediaPlayer while playing a live stream. The code was working perfectly before I upgraded my Nexus 10 to 5.1 from 5.0.x.
I get the error: error (-2147483648, 0) in the onError handler and have to stop the video. If I put a breakpoint in the error handler, the video plays perfectly on the device, so I don't know why it throws the error nor what it means.
I've tried debugging the MediaPlayer sources, but for some reason the binary on the device does not match the sources I have for 5.1. Either way it seems the error is coming up from the Native code.
I am able to play other media sources with he same code, it seems only the media with no duration information causes the error.
Here is the only useful info I get out of the log:
03-21 23:02:22.365: W/MediaPlayer(26062): info/warning (801, 0)
03-21 23:02:22.401: D/MediaPlayer(26062): getMetadata
03-21 23:02:22.416: W/MediaPlayer(26062): Stream has no duration and is therefore not seekable.
03-21 23:02:22.416: E/MediaPlayer(26062): error (-2147483648, 0)
03-21 23:02:22.427: E/MediaPlayer(26062): Error (-2147483648,0)
03-21 23:02:22.443: D/VideoView(26062): Error: -2147483648,0
03-21 23:02:22.446: W/Tag(26062): Playback error in -2147483648 info: 0
03-21 23:02:22.492: W/MediaPlayer(26062): info/warning (3, 0)
Figured it out. I was calling seekTo() with a zero value on a stream with no duration (live stream). Why it worked before, the 5.1 upgrade, I don't know.

Getting Sqlite Error code 14 while running an phonegap app on Device?

Please help to fine the error.
What i am doing is i had created an service in starting the service as soon as app starts and at the same time trying to load the html file . I had created the service just to upload the data to server. So when i try to run the app on the emulator it runs without error but when i try to run it on the device it give this error:
02-25 12:38:33.151: I/Database(3039): sqlite returned: error code = 14, msg = cannot open file at source line 25467
can anyone tell where i am wrong.
Thanks in advance

Categories

Resources