Wowza Community

Temporary URL

Just curious, the scenario is like below

  1. user sign up with our VOD portal

  2. user buy vod plan

  3. user sees a video listed in his dashboard

in background

  1. system automatically create a temporary url for newly bought video

  2. url should lasted only some period say 24 hours

Since I’m not good with java, here’s is my thinking

  1. md5() + hash insert unique id into subscriber vod table

  2. create the folder under /vod/ and softlink to actual video file

  3. cron job run every 5 minutes and running the cleanups ( deleting folder )

Will this achieve what I am planning ?

Will wowza auto detect the newly created app folder without restarting ?

Wowza will recognize new app without restarting.

There are a lot of useful examples some of which should help you, here:

https://www.wowza.com/docs/basic-modules-and-code-samples

Richard

thank you Richard.