mirsamantajbakhsh / LiveHiddenCamera

Live Hidden Camera is a library which record live video and audio from Android device without displaying a preview.
https://mstajbakhsh.ir/android-spy-camera/
75 stars 36 forks source link

Phone no responsed。 #1

Closed geminird closed 5 years ago

geminird commented 5 years ago

I test,system no responsed,need reboot 。

mirsamantajbakhsh commented 5 years ago

Phone works but because there is a hidden layer (over main layer for receiving the preview frames), click does not respond. I mean when you click anywhere, the phone will no respond. You should kill the process by adb.

adb shell
ps  // Find the process id (pid) of your application
kill pid // (as super user)

or you can stop the application by calling: adb shell am force-stop com.my.app.package

Check TODO section. Cloak and Dagger can be used to overcome this problem.

geminird commented 5 years ago

cloak and dagger is too complicated to me, if i want live audio only, can be not use the over hidden layer? how to do. thanks!

mirsamantajbakhsh commented 5 years ago

It is possible. These links from IceCast can be used:

http://novastreamapps.blogspot.com/

https://coolmic.net/

I will work on another library for live audio stream. I'll try to publish it during a month.

mirsamantajbakhsh commented 5 years ago

@geminird I've created a live audio library from CoolMic. The source and AAR are available with a demo video. Checkout:

https://mstajbakhsh.ir/broadcast-yourself-through-android/

https://github.com/mirsamantajbakhsh/LiveRadio

https://youtu.be/ujgRlYc9rMg