Unable to record video using startRecordingOption

((io.appium.java_client.android.AndroidDriver)this.getDriver().getWebDriver()).startRecordingScreen();
Thread.sleep(1000);}catch(Exception e){System.out.println(“started…”);}
try{
byte[] bytes=Base64.getDecoder().decode(((io.appium.java_client.android.AndroidDriver)this.getDriver().getWebDriver()).stopRecordingScreen());
FileOutputStream fileOutputStream=new FileOutputStream(new File(“F:/m.mp4”));
fileOutputStream.write(bytes);
fileOutputStream.close();

this is my current code that i am using just to check and exception is coming
this is appium logs
Encountered internal error running command: Error: Unable to stop the background screen recording: Error executing adbExec. Original error: ‘Command ‘F:\Selenium\android-sdk\platform-tools\adb.exe -P 5037 -s 4200de52cc0114af shell kill -15 32173’ exited with code 1’; Stderr: ‘/system/bin/sh: kill: 32173: Operation not permitted’; Code: ‘1’
[DEBUG]:::[W3C] at terminateBackgroundScreenRecording$ (C:\Users\Sahil Kamboj\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\commands\recordscreen.js:174:11)
[DEBUG]:::[W3C] at tryCatch (C:\Users\Sahil Kamboj\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[DEBUG]:::[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Sahil Kamboj\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[DEBUG]:::[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\Sahil Kamboj\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[DEBUG]:::[W3C] at GeneratorFunctionPrototype.invoke (C:\Users\Sahil Kamboj\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[DEBUG]:::[W3C] at

Please help in that.

This should work better in [email protected]

is there any configurational issues.why it is throwing exception @mykola-mokhnach.
From where to downlod [email protected] Currently i am using v1.9.1 latest server downloaded from appium.io

Hi, Any update on this @mykola-mokhnach

no updates from my side

Any updates on this issue?