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

hummer-signal

v1.0.3

Published

hummer signalService

Downloads

1

Readme

[TOC]

Hummer Signal Service js-sdk

FAQ

动态

[2019-12-11] 提供hummer-signal-1.0.3.js版本

接口未改动;内部优化升级;

[2019-11-13] 提供hummer-signal-1.0.3.js版本

接口未改动;对串行操作内部优化;

[2019-11-05] 提供hummer-signal-1.0.3.js版本

接口未改动;根据channelService的测试,进行同步优化;

[2019-10-12] 提供hummer-signal-1.0.2.js版本

(1)将signal的connect/login回调调整到hummer(core)模块来处理。详见下面的描述
(2)reliable调整到option对象;详见下面的描述

[2019-09-29] 提供hummer-signal-1.0.2.js版本

区分可靠P2P、非可靠P2P;可靠组播、非可靠组播;

【注】非可靠:这里非可靠是在网络异常,或抖动时才会出现掉包;——非可靠可以满足绝大部分场景;

对于高并发,时延要求高的场景建议采用非可靠设置(如白板); 对于可靠性要求高的场景采用可靠设置;

(I)白板功能调试主要场景:(时延较小,满足需求)

(a)【1对1白板授课】非可靠的p2p;

(b)【1对多白板授课】非可靠的组播;

(II)另外一个场景是1对多,老师禁掉其他学生的声音的控制;采用可靠p2p

[2019-09-16] 提供hummer-signal-1.0.0.js版本

新增完善接口说明:

(1)新增初始化回调onerror;
(2)send/recv以二进制形式;——我们提供2个 string <--> utf8二进制的接口供业务使用(业务也可以用自己的)

调试示例demo

signal-demo配置

采用http(CDN)方式引用聊天室js_sdk

<script charset="utf-8" src=" https://***.**.com/hummer-signal-x.x.x.js"></script>

使用js-sdk的业务部署在后端服务器。

【注】js_sdk带上版本号发布(如“1.0.2”)。

nginx.conf

	location /room {
		try_files $uri $uri/ /room/index.html;
		default_type text/html;
		alias /home/zhangbiwu/vue_projects/room/dist;
	}