https://github.com/cosmicoppai/hana
花:Video streaming gRPC server
https://github.com/cosmicoppai/hana
golang grpc grpc-go video-streaming
Last synced: 11 months ago
JSON representation
花:Video streaming gRPC server
- Host: GitHub
- URL: https://github.com/cosmicoppai/hana
- Owner: Cosmicoppai
- License: mit
- Created: 2022-05-10T07:53:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-24T07:48:50.000Z (about 4 years ago)
- Last Synced: 2025-04-09T22:45:52.995Z (about 1 year ago)
- Topics: golang, grpc, grpc-go, video-streaming
- Language: Go
- Homepage:
- Size: 28.4 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction

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
* If you don't want to install dependencies on your machine skip to [Installation using Docker](#installation-using-docker).
Install [Golang](https://go.dev/doc/install)
Install Protoc ```apt install -y protobuf-compiler```
Install Makefile ```apt install make```
## Installation
```bash
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
```bash
docker-compose up -d
```
Will start the Streaming Server on [localhost:8096](http://localhost:8096)
To start Client
```bash
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](./LICENSE)
## TO DO
- #### Refactoring
- #### Add more tests
- #### Client Authentication