@astronautlabs/waypoint
v0.0.14
Published
A media server for the web era
Downloads
19
Readme
A media server for the web era
Waypoint is Astronaut Labs' commercial media server solution. This NPM package is the public API for programmatically interacting and extending Waypoint. It does not include the Waypoint server itself.
npm i @astronautlabs/webrpc @astronautlabs/waypoint -g
Usage
import { RPCSession } from "@astronautlabs/webrpc";
import { Waypoint, Workflows } from "@astronautlabs/waypoint";
let session = await RPCSession.connect('wss://my-waypoint.example.com/');
let waypoint = await session.getRemoteService(Waypoint);
let workflows = await session.getRemoteService(Workflows);
console.log(`Here is some information about the Waypoint server:`);
console.dir(await waypoint.info());
console.log(`Here are the installed workflows:`);
console.dir(await workflows.all());