Skip to content
/ barc Public

Batch archive processing for OpenTok individual stream archives

License

Notifications You must be signed in to change notification settings

wobbals/barc

Repository files navigation

Batch Archive Processing

Individual stream archives require some post processing in order to be consumable to end users. Barc is a tool for doing just that -- it can consume an individual stream archive and produce a single composition container of the media from the archive. Features include:

  • Support for high-definition composed archives
  • CSS-based layout management
    • Several predefined styles available for you to choose from
    • Custom stylesheets for complete customizability
  • Simple web API and job queue for running a batch processing server

CSS layout presets

For full documentation on layout usage, see Stylesheets.

Usage: Local

See Developers

Usage: web

A demo server is available for OpenTok customers. To process an individual stream archive, send an HTTP POST to https://kennel.wobbals.com/barc/job with the parameters of your job:

var request = require('request');

var body = {
  width: 640,
  height: 480,
  archiveURL: "https://example.com/archive.zip",
  cssPreset: "auto",
  callbackURL: "https://example.com/callback",
  version: "breckenridge"
};
var myJobId;

request.post({
  url: `${barcURL}/job`,
  json: body
}, (error, response, body) => {
  if (error) {
    console.log(error);
  } else {
    myJobId = body.jobId;
  }
});

About

Batch archive processing for OpenTok individual stream archives

Resources

License

Stars

Watchers

Forks

Packages

No packages published