Giter Club home page Giter Club logo

limelight_proxy's Introduction

Limelight CDN Media Proxy

This is a node.js application that serves as a media proxy for Limelight CDN. This basically takes the following URL and maps it to the actual media download.

http://localhost:4000/0011aee4e21d4b84aecc342960eb876a

Where 0011aee4e21d4b84aecc342960eb876a is the Limelight CDN media ID. When this application is running on a server, you can then just navigate to that URL and it will download the file directly from Limelight CDN.

You can also use this with the <video> and <audio> tags.

<video src="http://localhost:4000/0011aee4e21d4b84aecc342960eb876a" controls />

Installation

You can install this module using NPM.

sudo npm install -g limelight_proxy

Usage

To run the proxy on your server or computer, you can run with the following parameters.

limelight_proxy --organization 12345678 --secret abcd1234 --access_key zyx987 --port 4000

Pipe vs. Redirect

This library allows you to either retrieve your media via http pipe, or via redirect. By default, it will pipe the remote file to the request. However, you can change this to use a redirect by using the redirect parameter as follows.

limelight_proxy --organization 12345678 --secret abcd1234 --access_key zyx987 --port 4000 --redirect 1

limelight_proxy's People

Contributors

travist avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

cloudxtreme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.