Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

downstream-electron

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

downstream-electron

DOWNstream For Electron - an open-source plugin to use with Electron allowing encrypted MPEG-DASH and Smooth Streaming streams to be safely downloaded and stored locally on a user’s Windows or Mac computer.

latest
npmnpm
Version
0.7.0
Version published
Maintainers
2
Created
Source

DOWNstream For Electron Build Status

Summary

DOWNstream is an open-source plugin to use with Electron allowing encrypted MPEG-DASH and Smooth Streaming streams to be safely downloaded and stored locally on a user’s Windows or Mac computer.

castLabs Electron Release for Content Security

To simplify the use of Widevine DRM and allow protected playback of offline content within Electron castLabs has created a fork with support for Widevine CDM installation, Verified Media Path (VMP), and protected storage of offline licenses. Such a release is installed by the default npm package scripts, see Development and Build sections below.

More information is available here:

https://github.com/castlabs/electron-releases

Development

  • (optional) npm run clean
  • npm install
  • npm start

Build

  • npm install
  • npm run build
  • npm start

Examples

  • npm install
  • npm start -- example=name
  • (default) Example: main

Extended example showing most of the features of the downstream_electron library

  • Example: drm

Basic example presenting usage of DRM protected stream with downstream_electron library

Integrations

Redux

Directory integrations/redux contains a full example of integration downstream_electron with React & Redux frameworks.

Development

  • cd integrations/redux
  • npm install
  • npm run dev

Release

  • cd integrations/redux
  • npm install
  • npm run dist

Documentation

Documentation is available publicly at https://castlabs.github.io/downstream_electron/

  • npm run jsdoc
  • Open jsdoc/index.html in any browser
  • If you want to generate docs with private methods run npm run jsdoc_prv

ESLint

  • npm run eslint

Debugging in intellij / webstorm

  • Create new node.js configuration
  • Node interpreter: /node_modules/.bin/electron
  • Javascript file: index.js

Known issues

More information

https://castlabs.com/resources/downstream/

License

Copyright (C) 2017 Castlabs GmbH. Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Keywords

electron

FAQs

Package last updated on 12 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts