Giter Site home page Giter Site logo

anniyanvr / openvidu-recording-server-endpoint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openvidu/openvidu-recording-server-endpoint

0.0 0.0 0.0 1.93 MB

License: Apache License 2.0

Dockerfile 0.67% Java 62.81% HTML 15.01% JavaScript 18.07% CSS 3.44%

openvidu-recording-server-endpoint's Introduction

openvidu-recording-server-endpoint

This is a Spring Boot application aimed to offer an HTTP endpoint for uploading/dowloading video recordings from browsers. It is meant to be used alongside openvidu-browser library and its LocalRecorder API.

Demo

Provided as a Docker image:

docker run -p 5443:5443 openvidu/openvidu-recording-server-endpoint

Docs

  • Frontend: LocalRecorder object in openvidu-browser-1.8.0.js is used to record a media stream and to upload it to certain endpoint.
  • Backend: A Java Spring Boot app exposing 3 HTTP REST endpoints:
    • POST /recording: receives a recording as a MultiPart file and stores it locally.
    • GET /recording/{recordingName}: serves one recording with certain name.
    • GET /recording/all: returns an array with all the recording names for which the user has permissions.

A simple security protocol is implemented in the backend. All REST methods are secured under Basic Authentication, and 2 users are predefined:

  • user:pass
  • admin:admin

Any authenticated user can perform uploads. For downloads, user admin has the highest level of granted permissions, and therefore has access to all video recordings. User user has access to their own recorded videos only.

openvidu-recording-server-endpoint's People

Contributors

pablofuente 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.