videostream

command module
v0.0.0-...-507713f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 11 Imported by: 0

README

go videostreamer

A simple go HLS server used for video streaming. I just wanted to test how video streaming should really be done!

How to setup

First you need to create a videos directory in the root of the program. Then place whatever videos in that folder.

Then you can run the program by running go run main.go. After that the program will format all the videos and create folders for each video. After the formatting is finished a http server will be launched where all the videos are served. You can navigate to the / path and then it's pretty straightforward.

Configuration

The configuration is done in the .env file:

port=8080
resolution=1920x1080

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL