File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,16 @@ shaka.device.WebOS = class extends shaka.device.AbstractDevice {
2929 try {
3030 const bridge = new PalmServiceBridge ( ) ;
3131 bridge . onservicecallback = ( n ) => {
32- shaka . log . info ( n ) ;
32+ shaka . log . info ( 'WebOS: config support' , n ) ;
33+ /** @type {!shaka.device.WebOS.PalmServiceBridgeResponse } */
3334 const configsJSON =
3435 /** @type {shaka.device.WebOS.PalmServiceBridgeResponse } */ (
3536 JSON . parse ( n ) ) ;
36- this . supportHdr_ = configsJSON . configs [ 'tv.model.supportHDR' ] ||
37- configsJSON . configs [ 'tv.config.supportDolbyHDRContents' ] || false ;
37+ this . supportHdr_ = configsJSON [ ' configs' ] [ 'tv.model.supportHDR' ] ||
38+ configsJSON [ ' configs' ] [ 'tv.config.supportDolbyHDRContents' ] || false ;
3839 } ;
3940 const configs = {
40- configNames : [
41+ ' configNames' : [
4142 'tv.model.supportHDR' ,
4243 'tv.config.supportDolbyHDRContents' ,
4344 ] ,
You can’t perform that action at this time.
0 commit comments