npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

acquire-webrtc

v0.3.0

Published

**_`P2P Flow (step 1-8 below)`_** ![picture 1](images/6f8378b8fe23e0ad63351d58079db83cc337e9795bbcba49b91f6ef0515fff63.png)

Downloads

4

Readme

System Block Diagram

P2P Flow (step 1-8 below) picture 1

picture 3

[Design Doc1]

[POC Plan]

Http Server (Python)

  • room and server allocation
  • prestore offer

Collider (Go)

  • exchange signaling message
  • maintain room datastructure

New Recording Flow (no encryption or extra transcoding needed) picture 2

React Side

  • Mixer of streams
  • Send Kurento for recording
  • S3 upload
  • Lamda for S3 presigned-URL

Deploy or Start Guide

use Systemctl for Python/Go backend server

Future DevOps

Terrraform and K8S

React Component Prop/State/CSS/Store Spreadsheet

[React Tracker]

Notes of some concerns

  1. Q: what is the buffer limits for the kurento recording?

    A: According to the documentation of kurento JSDoc, the kurento recorder endpoint will start storing into the file as soon as it get it. By default both AUDIO and VIDEO media types are expected, unless specified otherwise when invoking the connect method. Failing to provide both types, will result in RecorderEndpoint buffering the received media: it won't be written to the file until the recording is stopped. The recorder waits until all types of media start arriving, in order to synchronize them appropriately.

  2. Q: Is the S3 uploading in real time?

    A: Yes, the S3 uploading is in real time

  3. Q: How to hanlde the situation where the recording crash? Will it keep uploading to S3?

Setup kms in dev server

  1. use certbot generate certificates

  2. make sure to combind fullchain.pem and key.pem into one pem file

  3. when spin up the kms with the offical image, you need to bind certs, config files, and record storage location to it, an example is here:

docker run --rm \
-d \
--name kms \
--network host \
-v /tmp/recordings/:/tmp/recordings/  \
-v /cert/combind.pem:/cert/combind.pem \
-v /etc/kurento/kurento.conf.json:/etc/kurento/kurento.conf.json \
kurento/kurento-media-server:latest