This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

node-vdocipher

1.2.0 • Public • Published

VdoCipher

VdoCipher API Nodejs module for vdocipher API to obtain token for authenticated playback

Kind: global class

new VdoCipher(key)

configures the API instance

Param Type Description
key string Your API Secret key from dashboard

vdoCipher.getOtp(videoId, options, callback)

obtain the OTP

Kind: instance method of VdoCipher

Param Type Description
videoId string alphanumeric id of your vdocipher video
options Object extra options such as forcedBitrate and watermark
callback function A function which will be called with response

vdoCipher.getSignaure(playbackInfo) ⇒ string

get signature for auth video playback

Kind: instance method of VdoCipher
Returns: string - signature created using the secret key

Param Type Description
playbackInfo string base64 encoding of a json string with info about the time expiry and media info and other DRM data

/node-vdocipher/

    Package Sidebar

    Install

    npm i node-vdocipher

    Weekly Downloads

    4

    Version

    1.2.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • vibhavsinha