ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

How can I record phone conversation with the terminal commands or script? #1021

Open leftside2 opened 5 years ago

leftside2 commented 5 years ago

Description of the feature

Nexus5, Ubuntu Touch 16.04, phone conversation recording problem. https://github.com/ubports/ubuntu-touch/issues/1020 I understood that the RECORD/MIC icon on the phone call screen is not the one I'm expecting but simply a kind of mute-mic feature. But how can I record the phone conversation via terminal script anyway??

Illustrations

Steps to reproduce

Expected behavior

By simply executing a bash script in the terminal, I might record the conversation between the opposite person who is talking with me on the phone.

Actual behavior

Logfiles and additional information

hummlbach commented 5 years ago

I guess we should close this here continue it in the forum.(?) @leftside2 does it necessarily need to be a terminal command? otherwise you can just use the audiorecorder (https://open-store.io/app/audio-recorder.luksus). You need to keep it in the foreground or disable the suspending using the ut tweak tool.

leftside2 commented 5 years ago

@hummlbach , Thanks for ur info, I'll try.

leftside2 commented 5 years ago

@hummlbach , No. That is just the same app as the default recorder app on the phone when u install ubuntu-touch. It records only my voice not the other one's speech.

hummlbach commented 5 years ago

Oh, mhmm then its maybe device specific, cause this works on turbo. Shouldn't make a difference I guess, but did you call out or did you receive the call? (I have just checked with an outgoing call.)

leftside2 commented 5 years ago

@hummlbach , only call out. It didn't work like I said on the above.

dobey commented 5 years ago

@hummlbach The voice recorder app only can get what it hears on the microphone. The audio stream from the other end of the call is not accessible to it.

hummlbach commented 5 years ago

@dobey my turbo does for sure. I have some eye/ear whitnesses ;-) (no loud speaker enabled)

tallero commented 4 years ago

I could get decent call recording using the recorder and loud speaker.