Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

Wowza Streaming Engine Secure Token Generator

https://www.npmjs.com/package/wowza-securetoken

Parameters

wowza.urlGenerate({
    domain: '127.0.0.1',
    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)
});

Return

{
  'http': 'http://127.0.0.1/vod/_definst_/mp4:path/test.mp4/playlist.m3u8?wowzatokenstarttime=1480653131&wowzatokenendtime=1483245131&wowzatokenhash=5n3vTSGnlNKqkLCcfM9hX_KaksPIAykMo9P1SlaR2P8=',
  'https': 'https://127.0.0.1:443/vod/_definst_/mp4:path/test.mp4/playlist.m3u8?wowzatokenstarttime=1480653131&wowzatokenendtime=1483245131&wowzatokenhash=5n3vTSGnlNKqkLCcfM9hX_KaksPIAykMo9P1SlaR2P8=',
  'rtmp': 'rtmp://127.0.0.1/test/myStream?wowzatokenstart_time=1461322012789&wowzatokenend_time=1461322012789&wowzatokenhash=5ryZOaf8XQHMQt3_BeP_YZ0ftH6pOPKN3yNvRU6T438KqkWqcPBAllpq52OBvWdYmuoWFltVYVLJTErJNbtHyQ=='
}

About

Wowza Streaming Engine Secure Token Generator

Resources

License

Releases

No releases published

Packages

No packages published