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.

Setting API mjpegScalingFactor doesn't have default value

See original GitHub issue

The problem

Setting API mjpegScalingFactor doesn’t have default value. Returning json object does not contain key mjpegScalingFactor. And I try to set value, get message Didn't know about setting 'mjpegScalingFactor'. Are you sure you spelled it correctly? on log.

Environment

  • Appium version (or git revision) that exhibits the issue: v1.14.0-beta.1
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: masOS Mojave 10.14.5
  • Node.js version (unless using Appium.app|exe): v10.15.3
  • Npm or Yarn package manager: npm 6.9.0
  • Mobile platform/version under test: iOS 12.2
  • Real device or emulator/simulator: iOS Simulator
  • Appium CLI or Appium.app|exe: Appium CLI

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

https://gist.github.com/takeya0x86/800b6cd091d36ae4be92a08da644706d#file-gistfile1-txt-L127-L150

Code To Reproduce Issue [ Good To Have ]

IOSDriver driver = new IOSDriver(...);
driver.getSettings().get("mjpegScalingFactor");

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
KazuCocoacommented, Jun 17, 2019

you can set the default value as capability like https://github.com/appium/appium/pull/12776/files @takeya0x86

1reaction
KazuCocoacommented, Jun 13, 2019

The setting works in WDA, but xcuitest-driver shows the error message. No default settings in the returned value are expected so far, since we do not set the value every time in session creation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Field 'id' doesn't have a default value? - Stack Overflow
Try to execute SQL query SET GLOBAL sql_mode='' or edit your my.cnf / my.ini to make sure you aren't setting STRICT_ALL_TABLES and/or STRICT_TRANS_TABLES...
Read more >
Desired Capabilities - Appium
By default the value of this capability is the same as for appActivity . You must set it to the very first focused...
Read more >
Theme Settings API - The Theme Foundry
This takes care of providing the default value if no other value is available, and sanitizing the value for use in the theme....
Read more >
The Settings API - What is the purpose of default value in ...
I have posted an answer, but actually, if the option does not exist in the database, (I thought) it's perfectly fine if the...
Read more >
Default values | Contentful Help Center
Default values are predefined values that are set for specific fields in a ... in either the web app, Compose, the API or...
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