electron-releases | castLabs Electron for Content Security | SDK library
kandi X-RAY | electron-releases Summary
kandi X-RAY | electron-releases Summary
castLabs Electron for Content Security
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Validates the certificate and the private key
- Validate a certificate
- Create a list of extension names
- Create a list of OID names
- Create a list of entry values
- Hash an exe expression
- Computes the hash for the given arguments
- Compute the SHA512 hash of a file
- Compute SHA512 hash of given arguments
- Hacho hash function
- Computes the Mach - O
- Make the authority key identifier
- Convert data to hex
- Generate a hash based on a version number
- Compute the sh0 hash of a file
- Load a certificate file
- Load a private key from file
electron-releases Key Features
electron-releases Examples and Code Snippets
Community Discussions
Trending Discussions on electron-releases
QUESTION
I'm trying to get protected playback of offline content within Electron.
I'm trying to use: https://github.com/castlabs/downstream_electron
along with their Widevine-compatible Electron build: https://github.com/castlabs/electron-releases/releases/tag/v1.8.7-hdcp-vmp1010
Which should, according to downstream_electron's README.md, "allow protected playback of offline content within Electron".
I have a proof-of-concept set up with dashjs where I can extract the session information and download a drm-protected dash manifest, along with the audio and video segments.
I'm using publicly available assets from ezdrm:
manifest: http://wvm.ezdrm.com/demo/stream.mpd
license server: http://widevine-dash.ezdrm.com/proxy?pX=BF9CEB
When I call DownstreamElectronFE.downloads.getOfflineLink() after downloading the asset, it gives me back this:
...ANSWER
Answered 2018-Sep-18 at 10:28You need to request the license ahead of time, and specifically request a license that allows persistence (offline use). Basically, you ned to trigger the license request, before going offline. There might be a function call to do this somewhere, otherwise you could start playback to get the license, and terminate it afterwards.
Note that the license issued has to allow offline usage, that is not the default. The EZDRM demo stuff, might allow you to request such a license, but it is not likely to give you one like that by default.
QUESTION
Similar to How to get the arguments for opening file with electron app but the solution there is not working for me.
Using:
OS - Windows 10
Electron - https://github.com/castlabs/electron-releases.git#v1.8.7-vmp1010
electron-builde - v20.28.3
I have a an electron app build with electron-builder, and using the latter I have specified a custom file association, .custom
.
So when you double-click on a file with this extension, file.custom
, the installed app opens. This file would have some data in it that the app needs, and I'd like to read this data using my app.
Is there any way that my app can detect what launched it, so that I can say "file.custom" launched me, and it's sitting at "C:\Users\Owner\Downloads\
,?
The file does not appear in process.argv
ANSWER
Answered 2018-Sep-06 at 11:00You can get a reference to the file using process.argv, example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install electron-releases
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page