Skip to content

EvandroLG/video-streaming.lua

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

About

🎥 Library that implements MontionJPG technique using Lua and Pegasus.lua

Resources

Stars

Watchers

Forks

Packages

No packages published