-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to change video recording parameters on iOS #12463
Comments
Could you remove WDA once and run Appium 1.12.1 again?
|
I uninstall de appium package and reinstall it, then I recompile the WDA, uninstall the WDA in the device and relaunch the appium. The driver.start_recording_screen() function resend the selected options but the behaviour is the same. GET http://localhost:8000/status {
"value": {
"state": "success",
"os": {
"name": "iOS",
"version": "12.1.2",
"sdkVersion": "12.0"
},
"ios": {
"simulatorVersion": "12.1.2",
"ip": "192.168.1.131"
},
"build": {
"upgradedAt": "1554890714200",
"time": "Apr 10 2019 12:12:31",
"productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
}
},
"sessionId": "191B6834-7E7B-47DF-A959-5BCA0A35FAA7",
"status": 0
} POST http://localhost:8000/session/00957759-A8C0-4A49-9042-B50CD47F858D/appium/settings {
"mjpegServerFramerate": 23,
"mjpegServerScreenshotQuality": 75
} RESPONSE {
"value": {
"screenshotQuality": 1,
"mjpegScalingFactor": 100,
"elementResponseAttributes": "type,label",
"shouldUseCompactResponses": true,
"mjpegServerFramerate": 10,
"mjpegServerScreenshotQuality": 25
},
"sessionId": "00957759-A8C0-4A49-9042-B50CD47F858D",
"status": 0
} Now the "mjpegScalingFactor" appear but the options do not change on new settings POST. |
I see the problem |
This should be fixed in appium@beta |
Thank you very much |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Videos Settings always the same, dont change
I'm not able to change the video settings for iOS devices using the python function:
the values are examples
The appium server (1.12.1) is processing correctly the arguments and passing them to the wda but the wda is not updating its values.
I had try to connect via a REST client to the wda session in order to POST myself the new settings but the wda always returns a 200 with the same body and without any update.
POST /session/:session_id/appium/settings
Sent case 1
Sent case 2
Received always
Environment
Link to Appium logs
https://gist.github.com/Sendery/98b19a9ae0e60e93e2e4fdf06ee1244d
https://gist.github.com/Sendery/21218e14386493e323b14d29dab7a8c9
https://gist.github.com/Sendery/8829e90f1e477aefa0c00fcb13a5aa73
Code To Reproduce Issue [ Good To Have ]
The text was updated successfully, but these errors were encountered: