question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to change video recording parameters on iOS

See original GitHub issue

Videos Settings always the same, dont change

I’m not able to change the video settings for iOS devices using the python function:

driver.start_recording_screen(videoFps="15",quality="high")

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

{
"mjpegServerScreenshotQuality":75,
"mjpegServerFramerate":25
}

Sent case 2

{
  "value":{
     "mjpegServerScreenshotQuality":75,
     "mjpegServerFramerate":25
  }
}

Received always

{
  "value": 
  {
    "screenshotQuality":1,
    "elementResponseAttributes":"type,label",
    "shouldUseCompactResponses":true,
    "mjpegServerFramerate":10,"
     mjpegServerScreenshotQuality":25
  },
  "sessionId":"68EF9DF3-FAE8-424C-859D-XXXXXXX6F",
  "status":0
}

Environment

  • Appium version (or git revision) that exhibits the issue: 1.12.1
  • Desktop OS/version used to run Appium: MacOS Mojhave
  • Node.js version (unless using Appium.app|exe): v11.12.0
  • Npm or Yarn package manager: npm 3.10.9
  • Mobile platform/version under test: iOS 12.1.2
  • Real device or emulator/simulator: Real Device
  • Test launched from python 2.7.10

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 ]

driver.start_recording_screen(videoFps="15",quality="high")

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Apr 17, 2019

This should be fixed in appium@beta

0reactions
lock[bot]commented, Apr 25, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change the camera's video recording settings on iPhone
Learn how to change the camera's video recording settings on your iPhone, like resolution, frame rate, and more.
Read more >
iPhone: Change Video Recording Resolution - Technipages
Go to Camera Options ... There aren't too many options within the Camera menu. Click on the one labelled Record Video to change...
Read more >
iPhone Camera Video Settings and Options Missing? 8 Ways ...
1. End Ongoing Voice or Video Calls · 2. Record a Video Using QuickTake · 3. Restart iPhone · 4. Preserve iPhone Camera...
Read more >
Manage app permissions for your camera in Windows
Select Start > Settings > Privacy & security > Camera, then make sure Camera access is turned on. This setting lets any user...
Read more >
How and Why to Change the Video Quality on an iPhone
Open the Camera app and swipe to switch to Video mode. · By default, the top-right corner of your screen will show HD...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found