🎥 Library that implements MontionJPG technique using Lua and Pegasus.lua
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
spec
video_streaming
Makefile
README.md
video_streaming-0.1.0-1.rockspec

README.md

VideoStreaming.lua

Library that implements MontionJPG technique using Lua and Pegasus.lua

Installation

To install video_streaming, run:

$ luarocks install video_streaming 

How to use it?

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/

Contributing

Install Dependencies

$ make install_dependencies

Running tests

$ make test