{"id":21262792,"url":"https://github.com/michaelfranzl/minnie-janus","last_synced_at":"2025-06-17T22:37:30.431Z","repository":{"id":29921901,"uuid":"115914218","full_name":"michaelfranzl/minnie-janus","owner":"michaelfranzl","description":"Small, ES8, isomorphic library for interfacing with the Janus WebRTC gateway.","archived":false,"fork":false,"pushed_at":"2024-01-06T11:20:44.000Z","size":421,"stargazers_count":31,"open_issues_count":6,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T20:33:00.311Z","etag":null,"topics":["es8","janus-gateway","javascript","javascript-module","stampit","webrtc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelfranzl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-01T11:09:44.000Z","updated_at":"2024-01-06T10:37:18.000Z","dependencies_parsed_at":"2023-01-14T15:55:43.785Z","dependency_job_id":null,"html_url":"https://github.com/michaelfranzl/minnie-janus","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/michaelfranzl/minnie-janus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelfranzl%2Fminnie-janus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelfranzl%2Fminnie-janus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelfranzl%2Fminnie-janus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelfranzl%2Fminnie-janus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelfranzl","download_url":"https://codeload.github.com/michaelfranzl/minnie-janus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelfranzl%2Fminnie-janus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260452369,"owners_count":23011452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["es8","janus-gateway","javascript","javascript-module","stampit","webrtc"],"created_at":"2024-11-21T04:59:24.035Z","updated_at":"2025-06-17T22:37:25.412Z","avatar_url":"https://github.com/michaelfranzl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minnie-janus\n\n![Test badge](https://github.com/michaelfranzl/minnie-janus/actions/workflows/test.yml/badge.svg?branch=master)\n\nA small, modern, general interface module written in ES8 Javascript for the [Janus WebRTC gateway\nAPI](https://janus.conf.meetecho.com/docs/rest.html), for browsers as well as Node.js.\n\nInspiration came from the project [minijanus](https://github.com/mozilla/minijanus.js) (hence this\nname, 'minnie-janus'), but this is a rewrite from scratch because I needed ES modules, events,\nasync/await syntax, better logging, and a fix of one small\n[API issue](https://github.com/mozilla/minijanus.js/issues/3) in minijanus.\n\nProvided are two behavior implementations, `Session` (see [src/session.js](src/session.js)) and\n`BasePlugin` (see [src/base-plugin.js](src/base-plugin.js)), which transparently map to their\nserver-side equivalents.\n\n`BasePlugin` is supposed to be extended with per-plugin logic before being attached to a `Session`\ninstance, because Janus plugins are more like applications with very specific behavior. See\nexamples below on how to extend the `BasePlugin` implementation.\n\nNeither `Session` nor `BasePlugin` instances actually communicate with janus-gateway. The parent\napplication instantiating a `Session` is responsible for wiring up the transport of choice (REST\nHTTP(S), (Secure) WebSockets, etc.) to the `Session.receive()` method and the `Session#output`\nevent.\n\nUsage of mini-janus is best illustrated by the full demo/example implementing the 'echotest' plugin\n(included in Janus' source code). It can be found in the [demo](demo) subdirectory (see also\n[demo/README.md](demo/README.md) there).\n\nThe implementation has been [automatically tested](test) against the following `janus-gateway` versions:\n\n* 0.7\n* 0.8\n* 0.9\n* 0.14\n\n\n## Usage\n\nSee:\n\n1. echotest [demo](demo) contained in this repository\n2. [janus-rtpforward-plugin demo](https://github.com/michaelfranzl/janus-rtpforward-plugin/tree/master/demo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelfranzl%2Fminnie-janus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelfranzl%2Fminnie-janus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelfranzl%2Fminnie-janus/lists"}