Open jorgitoml opened 8 years ago
When running SDK on Smart TV Alliance member's device, specific driver is loaded (i.e. Philips, LG, Toshiba, ...). These drivers all should have DRM support. Alliance driver is just fallback.
Anyway, decision which driver to load is made in method getDevice() in js/core/main.js (line 83+)
OK, I'll take a look. Tx!
Any way to solve this? http://puu.sh/on22q/d3ae19b155.png Regards
Toshiba devices doesn't show any scene. http://puu.sh/on2jb/38d4efe84b.png
Edit Solved changing: else if (navigator.userAgent.indexOf('ToshibaTP\/') >= 0) { return ['alliance', 'toshiba']; } to: else if (navigator.userAgent.indexOf('ToshibaTP\/') >= 0) { return ['toshiba', '']; }
The emulator works if I comment this lines on philips.js: PUP: VK_PAGE_UP, PDOWN: VK_PAGE_DOWN, INFO: VK_INFO
But when I try to run the player I get this error: http://puu.sh/on3R8/95d1c3650f.jpg
Hi, I'm testing your SDK with the Smarttv Alliance emulator (https://developers.smarttv-alliance.org/sdk-download). The app only loads scenes if emulator User agent text is changed from: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.20 (KHTML, like Gecko) Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/537.20 SmartTvA/5.0.0 to: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.20 (KHTML, like Gecko) Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/537.20 SmartTv/5.0.0
I've tried to solve this problem modifying line 44 on alliance.js from: this.userAgentInfo = String(navigator.userAgent).match(/(toshibatp|smarttv)\/([\d.-]+)/i); to: this.userAgentInfo = String(navigator.userAgent).match(/(toshibatp|smarttva)\/([\d.-]+)/i); But I had no success.
Can you tell me how to solve this problem? Is the SDK fully functional for SmartTv Alliance devices? I don't see any DRM implementation on Alliance's player.
Best regards.