Library that implements MontionJPG technique using Lua and Pegasus.lua
To install video_streaming, run:
$ luarocks install video_streaming
You need to create a instance of Streaming, pass a port and a path to the directory where the images will served:
local Streaming = require 'video_streaming'
local serverVideo = Streaming:new({
port='8080',
dir='images/'
})
serverVideo:start()
Then you will have a localhost server delivering through the path /video_streaming/
$ make install_dependencies
$ make test