Skip to content

Cosmicoppai/hana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

icon

Video Streaming over internet using gRPC. The client uploads the video and video-metadata to the server using Client-Streaming. The server process and saves the video and its metadata for future streaming.

Requirements

Install Golang

Install Protoc apt install -y protobuf-compiler

Install Makefile apt install make

Installation

go mod download
go get -u google.golang.org/grpc
go get -u github.com/golang/protobuf/protoc-gen-go
Make gen // convert .proto files into go files
Make server // will start the streaming server on 0.0.0.0:8096
Make Client // will start the client

Installation using Docker

docker-compose up -d

Will start the Streaming Server on localhost:8096

To start Client

docker exec -it sh hana go cmd/client/main.go --address 0.0.0.0:8096

Contributing

This Project is open source, feel free to raise any issue/question or make PR :)

License

Source Code is licensed under MIT LICENSE

TO DO

  • Refactoring

  • Add more tests

  • Client Authentication