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

hst-rtc-sdk

v1.8.1

Published

web app business sdk

Downloads

67

Readme

运行

yarn install

yarn dev(默认运行的模式为web端,可更改命令行的mode参数)

打包

  • 打包web端SDK:yarn build:web

  • 打包web端SDK(haoshitong环境):yarn test:web

未完成的

1、完善vite配置,加上eslint

6613协议结构解析

  • DataArea:数据块,固定两个子项,子项中 ID:1(数据区域)、ID:2(视频区域)

  • LayoutMode:(3:视频模式、2:数据模式、1:标准模式)

  • ID为2的子项结构解析:

{ ID: 2, Item: [ { Pos: 0, // 位置,排第几个 Data: 1610625219, // 用户ID,userId Type: 6, // 类型,值代表的类型是共用的(1:白板、2:屏幕共享、4:媒体共享、6:视频),这里是6 UserData: 0 // 视频Id } ], // (1、2、4、6、9、12、16分别代表对应的分屏,例如6代表六分屏,1001代表视频焦点均分布局,3代表画中画,以上前提是LayoutMode为3) // (3代表净数据布局,前提是LayoutMode为2) // (4代表数据+视频的平铺或弹出布局,前提是LayoutMode为1,弹出布局为PC端特有,其他端做弹出复杂,所以web默认是平铺) UserData: 6 }

  • ID为1的子项结构解析:

{ ID: 1, Item: [ { Pos: 0, // 位置,排第几个 Data: 1610625219, // Type为2,4时候,代表的是用户ID,userId;Type为1时候,代表的是白板的ID Type: 1, // 数据类型,同上面的Type UserData: // 设备的mediaId } ], UserData: 0 // 代表正在显示的是对应Item数组的下标所表示的数据内容 }

  • 带Full开头的都是与全屏有关的

  • FullDataType: 6 // 数据类型,同上面的Type

  • FullDataID: // 全屏的用户ID,一般全屏单个视频的时候才会有

  • FullUserData: // 全屏的视频ID,一般全屏单个视频的时候才会有

  • FullArea: { ID: [1, 2] // [1]:纯数据,[2]:纯视频,[1, 2]:数据+视频 }

日志

'web端版本1.0.0放行commit':【hst_web_client_sdk】更换地址(4f4d7bf1608466ee7e67ed18bd5279f5f1bb0833)-----2021/08/24

1.0.1 (2021/09/01,2021/09/14)

改动点:

  • 适配私有云
  • 优化退会流程 commit:【hst_web_client_sdk】适配私有云(f813ccdb5e81e6717e3d7d605903ab4bc933801d)、【hst_web_client_sdk】更新版本号为1.0.1 使用情况:分支feature_webapp_for_ces:【hst_web_client】适配私有云(411491530104796376439b857f61ca77e6642e25),里面版本号未同步