shaka-player icon indicating copy to clipboard operation
shaka-player copied to clipboard

Official support for LG WebOS TV

Open kingctan opened this issue 6 years ago • 58 comments

Does this player support LG WebOS TV for DASH&playready combination? Thanks.

kingctan avatar Mar 02 '18 15:03 kingctan

I don't think that Shaka team has investigated this platform specifically. Generally speaking, Shaka supports any platform that is spec-compliant, but in my experience these kinds of smart TV platforms are not very mature and require extensive testing, validation, and workarounds. Things are getting better, though.

We will soon be investigating LG WebOS for DASH-PR, so you may soon see tickets related to this platform, and you'll get a better sense for whether or not Shaka will work on these TV's.

chrisfillmore avatar Mar 02 '18 15:03 chrisfillmore

We have never tested Shaka Player on this platform, but you can help by running our support page and sending a screenshot: https://shaka-player-demo.appspot.com/support.html

This will tell us whether or not the platform has the basic capabilities we need, and if so, what specific containers, codecs, and DRM systems it has.

joeyparrish avatar Mar 02 '18 17:03 joeyparrish

We are using ShakaPlayer with WebOS 3.5 and DASH+Widevine without any problem.

avelad avatar Mar 02 '18 18:03 avelad

@kingctan Does this answer your question? Is there anything else we can do?

ismena avatar Mar 19 '18 17:03 ismena

@ismena I have a question. It seems there are at least 3 projects using Shaka on LG WebOS: @kingctan, @avelad, and me. Would Shaka team be willing to adopt this as an officially supported platform?

chrisfillmore avatar Mar 23 '18 09:03 chrisfillmore

@chrisfillmore , What versions of WebOS have you tried? I only tried WebOS 3.5.

avelad avatar Mar 23 '18 09:03 avelad

Let's get our TL to consider it! @joeyparrish

ismena avatar Mar 23 '18 16:03 ismena

@kingctan Does this answer all your questions? Can we close the issue?

shaka-bot avatar Mar 27 '18 16:03 shaka-bot

If you can send us some documentation on WebOS testing, we could consider adding a WebOS device to our test lab. We can't call it an officially supported platform until we are running tests on it nightly to make sure we don't break it. But in general, expanding our platform coverage is a Good Thing:tm:.

In particular, we would appreciate any tips on how to automate directing the device to an arbitrary URL. That's a key part of the testing process with Karma.

joeyparrish avatar Mar 27 '18 16:03 joeyparrish

@kingctan Does this answer all your questions? Can we close the issue?

shaka-bot avatar Mar 31 '18 17:03 shaka-bot

Closing due to inactivity. If this is still an issue for you or if you have further questions, you can ask us to reopen or have the bot reopen it by including @shaka-bot reopen in a comment.

shaka-bot avatar Apr 07 '18 17:04 shaka-bot

@shaka-bot reopen please

Here is the Shaka support page for the WebOS TV I have:

Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 WebAppManager
v2.3.6

{
  "manifest": {
    "application/dash+xml": true,
    "application/x-mpegurl": true,
    "application/vnd.apple.mpegurl": true,
    "application/x-offline-manifest": true,
    "mpd": true,
    "m3u8": true,
    "application/vnd.ms-sstr+xml": false,
    "ism": false
  },
  "media": {
    "video/mp4; codecs=\"avc1.42E01E\"": true,
    "video/mp4": true,
    "video/mp4; codecs=\"avc3.42E01E\"": true,
    "video/mp4; codecs=\"hev1.1.6.L93.90\"": true,
    "video/mp4; codecs=\"hvc1.1.6.L93.90\"": true,
    "video/mp4; codecs=\"hev1.2.4.L153.B0\"; eotf=\"smpte2084\"": true,
    "video/mp4; codecs=\"hvc1.2.4.L153.B0\"; eotf=\"smpte2084\"": true,
    "video/mp4; codecs=\"vp9\"": false,
    "video/mp4; codecs=\"vp09.00.10.08\"": false,
    "audio/mp4; codecs=\"mp4a.40.2\"": true,
    "audio/mp4": true,
    "audio/mp4; codecs=\"ac-3\"": true,
    "audio/mp4; codecs=\"ec-3\"": true,
    "audio/mp4; codecs=\"opus\"": false,
    "audio/mp4; codecs=\"flac\"": false,
    "video/webm; codecs=\"vp8\"": true,
    "video/webm": true,
    "video/webm; codecs=\"vp9\"": true,
    "video/webm; codecs=\"av1\"": false,
    "audio/webm; codecs=\"vorbis\"": false,
    "audio/webm": false,
    "audio/webm; codecs=\"opus\"": false,
    "video/mp2t; codecs=\"avc1.42E01E\"": false,
    "video/mp2t": false,
    "video/mp2t; codecs=\"avc3.42E01E\"": false,
    "video/mp2t; codecs=\"hvc1.1.6.L93.90\"": false,
    "video/mp2t; codecs=\"mp4a.40.2\"": false,
    "video/mp2t; codecs=\"ac-3\"": false,
    "video/mp2t; codecs=\"ec-3\"": false,
    "text/vtt": true,
    "application/mp4; codecs=\"wvtt\"": true,
    "application/mp4": true,
    "application/ttml+xml": true,
    "application/mp4; codecs=\"stpp\"": true
  },
  "drm": {
    "org.w3.clearkey": {
      "persistentState": false
    },
    "com.widevine.alpha": {
      "persistentState": false
    },
    "com.microsoft.playready": {
      "persistentState": false
    },
    "com.apple.fps.2_0": null,
    "com.apple.fps.1_0": null,
    "com.apple.fps": null,
    "com.adobe.primetime": null
  },
  "offline": true
}

The TV is a UJ6500. In "About This TV" it says Software Version 4.70.10, although I'm not totally clear if this is the WebOS version.

chrisfillmore avatar Apr 23 '18 21:04 chrisfillmore

Could we reopen this as an official WebOS support issue? I have an internal ticket assigned to me to ensure Shaka works out of the box on LG TV's, so I'm happy to help get this resolved.

chrisfillmore avatar Apr 23 '18 21:04 chrisfillmore

Sure thing. I've renamed the issue to reflect that.

@chrisfillmore, based on your support report, I see no reason WebOS shouldn't work. If you can confirm what version of WebOS you have, that would be helpful. @avelad reports that WebOS 3.5 works for him.

For this to be an officially supported platform, and not just a platform that happens to work, we will need to add a WebOS device to our lab environment and integrate it with our test automation. None of that work will affect the open-source library unless we need to adjust any of the tests themselves.

The open question is what version of WebOS we should try to put in our lab. Ideally, we would test on the oldest version we intend to support, which may be 3.5. @chrisfillmore, @avelad, we would be happy to have your input on this.

The other issue is that we may be limited in the WebOS version we can actually purchase. For example, when we tried to purchase a Tizen 2016 TV, we could only find 2017 models in stores. It seems that WebOS 3.5 models are still available, but I'm not sure about earlier models.

joeyparrish avatar Apr 23 '18 22:04 joeyparrish

I'd prefer that Shaka Player supports WebOS 3.5 or above (WebOS 4 is scheduled for the end of year).

The only "strange" thing that i found in some WebOS TV is related to video resolution, eg: Model: lg-24MT49S-PZ (this is a low end model) with HD ready resolution (1366x768px) is not able to reproduce streams of 1080p, so I need configure setMaxHardwareResolution with 1366x768

avelad avatar Apr 24 '18 06:04 avelad

Cool, thanks for the feedback, @avelad!

joeyparrish avatar Apr 24 '18 07:04 joeyparrish

Ok here's what I've learned so far.

WebOS SDK http://webostv.developer.lge.com/sdk/download/download-sdk/

Using WebOS CLI http://webostv.developer.lge.com/sdk/using-webos-tv-cli/

Testing a WebOS app http://webostv.developer.lge.com/sdk/using-webos-tv-cli/testing-web-app-cli/

WebOS Application Lifecycle http://webostv.developer.lge.com/develop/app-developer-guide/web-app-lifecycle/

You can launch an app from the command line via something similar to:

ares-launch --device deviceName com.domain.app --params "{'url':'www.foo.com'}"

You can listen for this value in WebOS:

document.addEventListener('webOSLaunch', function (event) {
  console.log(event.detail.url); // www.foo.com
});

Does this help?

chrisfillmore avatar Apr 24 '18 21:04 chrisfillmore

Very much, yes! Thank you!

joeyparrish avatar Apr 25 '18 00:04 joeyparrish

FYI we believe 2017 model WebOS TV's suffer from the same bug described here:

https://groups.google.com/forum/#!msg/shaka-player-users/DZuG1MzR2DA/R7Fduj_E2OMJ

@avelad Do your media segments include multiple PSSH boxes, or just one?

chrisfillmore avatar Apr 25 '18 21:04 chrisfillmore

@chrisfillmore, our media segment only include one PSSH box

avelad avatar Apr 26 '18 08:04 avelad

Ok thanks. We're going to do some testing with our streams to remove all but one PSSH and see if we are able to play.

chrisfillmore avatar Apr 26 '18 13:04 chrisfillmore

I use shaka player on webOS 3.5. Non-encrypted and Widevine DASH .mpd works well. HLS (with help of mux.js) video looks like slideshow. (On Tizen and Chrome no problem)

Kogoruhn avatar Nov 08 '18 12:11 Kogoruhn

DASH + Widevine also working fine on 4.x

2.x fails, only supports Widevine Classic according to http://webostv.developer.lge.com/discover/specifications/supported-media-formats/

Might be a good test case for resolving #494 if someone still cares.

MilosRasic avatar Jun 20 '19 14:06 MilosRasic

WebOS 4.x - Playing multi-period dash with Playready or Widevine, play is stopping after first period: Getting following error:

image

I noticed that the drmInfos in the variants is not set when changing period:

image

However, when it first loads the drmInfos is set:

image

TheBigOx avatar Jul 23 '19 08:07 TheBigOx

@bitsleft, thanks for the info. We haven't started working on WebOS yet, but we're always happy to accept pull requests if you have a fix in mind. Otherwise, I apologize for the delay, but we should have WebOS set up in our test lab later this year.

joeyparrish avatar Jul 23 '19 16:07 joeyparrish

@avelad Hello,

Do you have an example to implement shaka player with lg webos?

Beor18 avatar Sep 25 '19 18:09 Beor18

does anyone have a build or can test two streams for me as I dont have access to a LG device in our demo lab

EZDRM avatar Dec 12 '19 22:12 EZDRM

I tested streams of Anevia+EZDRM and I has not issues. I also have LG running with other providers without problem.

Combination used: DASH+Widevine

avelad avatar Dec 13 '19 09:12 avelad

Hello, Can you send me a sample player? As our attempts seem to have an issue with play back of the dash stream.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Álvaro Velad Galván [email protected] Sent: Friday, December 13, 2019 1:13:22 AM To: google/shaka-player [email protected] Cc: EZDRM [email protected]; Comment [email protected] Subject: Re: [google/shaka-player] Official support for LG WebOS TV (#1330)

I tested streams of Anevia+EZDRM and I has not issues. I also have LG running with other providers without problem.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/google/shaka-player/issues/1330?email_source=notifications&email_token=ANYOAMSGBFQEVMK6JAPCPHDQYNG3FA5CNFSM4ETICDVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZMDRI#issuecomment-565363141, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANYOAMWYLSHQIERKNEIRYCDQYNG3FANCNFSM4ETICDVA.

EZDRM avatar Dec 13 '19 12:12 EZDRM

I know that there is no official support here -- Just to report the issues we are seeing:

(Shaka 2.5.6) returns a 6006 error FAILED_TO_GENERATE_LICENSE_REQUEST

on Verizon Media dash manifests occasionally. It will playback sometimes while other times failing to generate a license request.

TheJohnBowers avatar Jan 27 '20 19:01 TheJohnBowers