Giter Club home page Giter Club logo

live-video-stream's Introduction

Live-Video-Stream

Self built live video streaming using akka-http

Configuration File

Configuration file is application.conf

Main Configurations

You need to set at least these 3 variables in the application.conf file:

livevideostream.fps example : livevideostream.fps = 25

How many frames will be produced by the source and also the output video frame.

livevideostream.port example: livevideostream.port = 1234

Which port will be used by this application.

livevideostream.level example: livevideostream.level = 1

Number of different quality levels. ** Only 1 and 3 are available**

Additional Configurations

livevideostream.numberOfCores example: livevideostream.numberOfCores = 2

Number of threads will be used by the program. Number of cores is automatically detected and the default is maximum.

livevideostream.videoDirectory example: livevideostream.videoDirectory = "folder1/folder2"

A folder named livevideostream will be created under the given directory and all files will be stored there. Default is current working directory.

Prerequisities

You need to have the latest versions of sbt and ffmpeg downloaded and installed on your computer.

How To Run

First go to project directory then: sbt run

Alternatively you can pull the docker image from dockerhub docker pull hivecdn/testvideoserver:latest then run with port forwarding docker run -p 1234:1234 hivecdn/testvideoserver:latest finally open your favorite web browser and type http://localhost:1234

Main Flow Diagram

Detailed Diagram

live-video-stream's People

Contributors

eminayar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.