Skip to content

Commit

Permalink
Add Logs for EDID
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Jun 8, 2024
1 parent 83b9460 commit d38c2fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/WebOsVideo/WebOsVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ function retrieveDeviceInfo() {
},
onSuccess: function (result) {
if (((result || {}).configs || {})['tv.model.edidType']) {
// eslint-disable-next-line no-console
console.log('edid', result.configs['tv.model.edidType']);
fetchedDeviceInfo = true;
var edidType = result.configs['tv.model.edidType'].toLowerCase();
if (edidType.includes('dts')) {
Expand All @@ -168,6 +170,10 @@ function retrieveDeviceInfo() {
return e !== 'TRUEHD';
});
}
// eslint-disable-next-line no-console
console.log('unsupported audio', device.unsupportedAudio);
// eslint-disable-next-line no-console
console.log('unsupported subs', device.unsupportedSubs);
}
},
onFailure: function (err) {
Expand Down

0 comments on commit d38c2fa

Please sign in to comment.