02 2018 档案
摘要:多人同时上麦说话 主播正常开始直播,普通观众看到主播的单人直播画面; 需要连麦的观众发起连麦请求,进入连麦申请列表; 主播从连麦申请列表中选择一名或多名观众进行连麦操作,主播与连麦观众进行实时音视频互动,同时互动直播系统生成“合成画面”; 普通观众看到直播画面为包含主播与连麦观众的“合成画面”; 为
阅读全文
摘要:功能 IM消息系统 一对一 高清音视频实时通信,可无缝切换P2P传输,节省服务器带宽 一对多互动直播 多对多在线会议 手机实时录屏传输 高度定制化 网络检测,动态码率与动态帧率,抗网络抖动,微信级效果 自适应智能回音消除 为物联网而生 性价比全网最高, 成本全网最低! 支持区块链集成! 兼容webr
阅读全文
摘要:JSON转换库为 encoding/json 把对象转换为JSON的方法(函数)为 json.Marshal(),其函数原型如下 func Marshal(v interface{}) ([]byte, error) 也就是说,这个函数接收任意类型的数据 v,并转换为字节数组类型,返回值就是我们想要
阅读全文
摘要:https://github.com/danharper/hmac-examples 94 func generateSign(data, key []byte) string { 95 mac := hmac.New(sha1.New, key) 96 mac.Write(data) 97 exp
阅读全文
摘要:Download and install it: $ go get github.com/gin-gonic/gin Import it in your code: import "github.com/gin-gonic/gin" (Optional) Import net/http. This
阅读全文
摘要:https://blog.usejournal.com/top-6-web-frameworks-for-go-as-of-2017-23270e059c4b https://www.zhihu.com/question/27370112 之前学golang的时候,看到国人写的beego框架,我就通
阅读全文
摘要:get download and install packages and dependencies install = compile and install packages and dependencies run compile and run Go program build compil
阅读全文
摘要:The library offers support for the Real-time Transport Protocol (RTP), The library uses the JThread library to automatically poll 轮询 for incoming data
阅读全文
摘要:https://github.com/koajs/koa https://github.com/demopark/koa-docs-Zh-CN ctx.response.type = 'json'; app.use()用来加载中间件 app.use(ctx => { ctx.body = 'Hell
阅读全文
摘要:作用是让临时文件和中间文件都不提交到代码库中 工程相关的.gitignore 放在根目录 常用 的有: Android.gitignore C++.gitignore C.gitignore CMake.gitignore CodeIgniter.gitignore Laravel.gitignor
阅读全文
摘要:JavaScript的函数不但是“头等公民”,而且可以像变量一样使用,具有非常强大的抽象能力。 定义函数的方式如下: function abs(x) { if (x >= 0) { return x; } else { return -x; } } 如果没有return语句,函数执行完毕后也会返回结
阅读全文
摘要:为什么起名叫JavaScript?原因是当时Java语言非常红火,所以网景公司希望借Java的名气来推广,但事实上JavaScript除了语法上有点像Java,其他部分基本上没啥关系。 为了让JavaScript成为全球标准,几个公司联合ECMA(European Computer Manufact
阅读全文
摘要:index.html <html> <meta http-equiv="refresh" content="0;url=https://www.starRTC.com/"> </html> server { listen 80; server_name www.starRTC.com; locati
阅读全文