Giter Site home page Giter Site logo

kod3r / clarify-webrtc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scottbarstow/clarify-webrtc

1.0 1.0 0.0 476 KB

This project demonstrates a quick way to plug Clarify.io into a WebRTC app, record audio calls and search them with Clarify

Home Page: http://clarify.io/blog/simple-webrtc-…ording-clarify/

License: MIT License

JavaScript 76.12% CSS 2.82% HTML 21.06%

clarify-webrtc's Introduction

Clarify WebRTC Call Recording Demo

Simple NodeJS web app that allows users to call each other via webrtc and then index the recorded call for content searching. This project is based on the work of Vladimir Kalinkin's Simple RTC project and used with his permission.

Purpose

The purpose of this project is to demonstrate how to integrate webrtc calling and recording with the Clarify.io media indexing API.

How It Works

Users call each other in a webrtc browser session and each leg of the call is recorded and saved to disk. Upon completion of the call, the audio from each leg of the call is sent to Clarify to be indexed. After the call has been indexed, users can search the contents of the audio from the Search menu

Demo video

Watch a demonstration of the application in action

Prerequisites

  • Node 0.12
  • Mongo DB

Installation

  1. sudo npm install -g grunt-cli
  2. git clone https://github.com/scottbarstow/clarify-webrtc.git
  3. npm install
  4. bower install

Configuration

  1. cp config.js.example config.js
  2. Configure the settings in config.js. You can find the Clarify API keys in the Clarify Developer Portal.
  3. The BASE_URL setting must be addressable from outside your network in order for Clarify to send callbacks to the application. For example, http://localhost:3000 will not work, but http:// will work

Running

  • grunt seed
  • grunt

Usage

  1. Open http://localhost:3000 in your browser.
  2. Sign in as 'admin' with password 'admin'.
  3. Open http://localhost:3000 in private window.
  4. Sign up with a new user using the 'Sign Up' link in the upper right.
  5. Make calls between the two users, ensuring that you grant access to the microphone when requested by the browser
  6. After you hang up, the audio will be saved and sent to Clarify for indexing. When indexing is complete, the duration and cost will be updated on the Calls tab of the application. You can play the audio from your calls on that page.
  7. Click on 'Search' to search the contents of your calls and play back the results.

License

MIT

clarify-webrtc's People

Contributors

cylon-v avatar scottbarstow avatar

Stargazers

 avatar

Watchers

 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.