Skip to content

Demo: auto-select offline copy of asset after storing #996

Closed
@beaufortfrancois

Description

@beaufortfrancois

navigator.userAgent
"Mozilla/5.0 (Linux; Android 8.0.0; Pixel Build/OPR6.170623.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3194.0 Mobile Safari/537.36"

Steps to reproduce:

  1. Go to https://nightly-dot-shaka-player-demo.appspot.com/demo/#asset=//storage.googleapis.com/shaka-demo-assets/angel-one-widevine/dash.mpd;lang=en-US
  2. Click "Load" button
  3. Expand "Offline section" and click "Store" button
  4. Wait for asset to be fully downloaded.
  5. Select another asset and click "Load" button
  6. Turn ON airplane mode (meaning no internet connection)
  7. Select back "Angel One (multicodec, multilingual, Widevine)" asset\
  8. Click "Load" button

Expected result:
Video plays.

What happens instead:
I get the error below:

Shaka Error DRM.LICENSE_REQUEST_FAILED (shaka.util.Error {
  "severity": 2,
  "category": 1,
  "code": 1002,
  "data": [
    "http://widevine-proxy.appspot.com/proxy"
  ],
  "handled": false,
  "message": "Shaka Error NETWORK.HTTP_ERROR (http://widevine-proxy.appspot.com/proxy)",
  "stack": "Error: Shaka Error NETWORK.HTTP_ERROR (http://widevine-proxy.appspot.com/proxy)\n    at new shaka.util.Error (http://localhost:4000/lib/util/error.js:66:13)\n    at XMLHttpRequest.xhr.onerror (http://localhost:4000/lib/net/http_plugin.js:91:14)"
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: good first issueThis might be a relatively easy issue; good for new contributorsstatus: archivedArchived and locked; will not be updatedtype: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions