Ubuntu – Kazam microphone Unknown 20.04kazammicrophonescreencastvideo-recording Have anyone faced the same error? None of the sources seems to be working. I even tried disconnecting Bluetooth & restarting the "Kazam" app. Best Answer Just posting the fix here to avoid confusion in the thread. FIX : Update the function "time.clock()" in pulseaudio.py file with "time.perf_counter()" File location : /usr/lib/python3/dist-packages/kazam/pulseaudio/pulseaudio.py 'time.clock()' is deprecated from Python V3.3 and removed from Python v3.8 Documentaion: : https://docs.python.org/3.7/library/time.html#time.clock Related SolutionsUbuntu – kazam no sound and no rectangular red border during screencast in ubuntu 20.04 Probable solution to audio problem at #8, #12 of https://bugs.launchpad.net/kazam/+bug/1875530 the fix is to modify this file: /usr/lib/python3/dist-packages/kazam/pulseaudio/pulseaudio.py and replace time.clock() with time.perf_counter() in all 8 places Related QuestionUbuntu – kazam no sound and no rectangular red border during screencast in ubuntu 20.04
Best Answer
Just posting the fix here to avoid confusion in the thread.
FIX : Update the function "time.clock()" in pulseaudio.py file with "time.perf_counter()"
File location : /usr/lib/python3/dist-packages/kazam/pulseaudio/pulseaudio.py
'time.clock()' is deprecated from Python V3.3 and removed from Python v3.8
Documentaion: : https://docs.python.org/3.7/library/time.html#time.clock