Skip to content

WINOFFRG/widevine-license-proxy-server-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Widevine License Acquisition Reverse Proxy Server

Licensing Servers are the building blocks in streaming digitally protected media content. When the player receives the Encrypted stream it then asks the licensing server for the keys of the encrypted media which is processed by CDM (Content Decryption Module) and used to play the video securely in the application.

📃 Table of Contents:

  1. Analysis
  2. Setting up Shaka Player
  3. Reverse Proxy Server
  4. Playback & Optimization

I have written an article on medium here and explained in great depth. Check that our here! If this worked for you make sure to give a ⭐ to this repository.

Server servering request to Shaka Player Test Streams

TYPE #1 #2
MANIFEST Shaka MPEG-DASH Bitmovin MPEF-DASH
LICENSE Widevine Proxy Widevine Proxy

🔨 Optimization / #FollowUP:

  • For better performance, we can also bring http2 (SPDY) into view.
  • Making it work over text or UTF-8 type response.
  • Bringing a cache layer as middleware which serves the access tokens to request license if being used. (Optional)
  • Keep connection alive with server for clients who are requesting license again and again.
  • Testing with other DRM Providers, the Concept remains the same.

About

Create a reverse proxy licensing server in NodeJS using Express and attach addons like API Rate Limiting, Authentication/Authorization, and a lot more.

Topics

Resources

Stars

Watchers

Forks