Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including wowza-securetoken with all npm packages installed. Try it out:

var wowzaSecuretoken = require("wowza-securetoken")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

wowza-securetoken v2.5.9

Wowza Secure Token Generator

Wowza Streaming Engine Secure Token Generator


    domain: '',
    urlPrefix: 'vod/_definst_/mp4:', // streaming path is test/myStream
    filePath: 'path/', // Only needed if vod ( path is vod/path/test.mp4 )
    fileName: 'test.mp4', //Only needed if vod ( path is vod/path/test.mp4 )
    sharedSecret: 'uhef87bdub13e87',
    prefixParameter: 'wowzatoken', //default value is wowzatoken
    startTime: '1461322012789', //new Date()
    endTime: '1461322012789', //new Date(now.getTime() + 30 * 24 * 60 * 60 * 1000)


  'http': '',
  'rtmp': 'rtmp://'


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free