Using the webOS_TV_Simulator, it seems like calling getSystemSettings(soundOutput) fails because soundOutput is null. This works fine on a real TV. If this is WAI, please make it fail gracefully, or throw an error so that the caller can catch and handle. Right now it just crashes the app
Which API call is causing the problem? Please share your code. Thank you.
webOS.service.request('luna://com.webos.audio', {
method: 'getVolume',
onSuccess: function (response) {
console.log("success ", response);
},
onFailure: function(response) {
console.log("failure ", response);
},
}
This actually never gets to the onFailure
path and just seems to hang
Please refer to API compatibility on webOS TV simulator. The webOS TV Simulator does not support Audio API, and the Audio API does not have a getVolume method. Thank you.
For your information, TV devices and simulators can be distinguished using the modelName in the TV Device Information API. Thank you.