Skip to content

ErasmusEgalitarian/educado-transcoding-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Educado Transcoding Service

Overview

This service is responsible for handling GCP trafic (uploading, downloading, etc.), transcoding and streaming. The staging and main branches are deployed to GCP Cloud Run.

Getting Started

Prerequisites

  • .env file with the following variable(s):
GOOGLE_APPLICATION_CREDENTIALS=<path to service account key>
  • .gcp_credentials.json (service account key).
  • Go should be installed on your machine.
  • (Optional) GoLand IDE.

Installation

  • Open project in GoLand.
  • Insert .env file in the root of the project.
  • Insert .gcp_credentials.json in the root of the project.
  • Run the following command in the terminal:
go run ./cmd/server/main.go
  • The server should be up and running.

Quickstart

  • Run the following command in the terminal:
go run ./cmd/server/main.go

Docker

  • Build the image:
docker build -t <image-name> .
  • Run the image:
docker run -p 8080:8080 <image-name>

The service should be up and running on port 8080.

Usage

  • This service is desgined to work with Educado's backend.

API Reference

  • Description of routes (to be added)

Known Issues

  • For some reason the service cannot transcode when deployed to GCP. It works fine locally, both containerized and not containerized.

Acknowledgments

  • Shout out to Carl Ryskov Aagesen for being a great mentor.

About

Video Streaming Microservice ๐Ÿš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8