Giter Club home page Giter Club logo

skyrtc-demo's Issues

加ssl不能运行

var express = require('express');
var app = express();
var path = require("path");
const fs = require('fs');
var options = {
    key: fs.readFileSync('./privatekey.pem'),
    cert: fs.readFileSync('.server.pem')
};
var server = require('https').createServer(options, app);
var SkyRTC = require('skyrtc').listen(server);

var port = process.env.PORT || 80;
server.listen(port);

你好,我在本地见了一个demo,别人访问谷歌提示说要加ssl,我现在把server.js稍微改了一下,但是就运行不了,什么报错也没有,能帮我看看嘛。
非常感谢

这个怎么打包发布到IIS服务器啊

1.直接拷贝目录到IIS服务器会报找到不ws,
2.直接nodejs server运行然后改变域名会提示 create stream failed
Uploading image.png…
3.怎么打包然后发布到IIS服务器啊

大家IOS推流出来成功了吗?

这个DEMO我也跑了,ios的音视频在网页就是看不见,就很奇怪

ios 显示网页音视频都是正常的

请问哥们 你们 ios有推送出流给网页吗

SyntaxError: Use of const in strict mode.

D:\pj\SkyRTC-demo-master\node_modules\ws\index.js:9
const WebSocket = require('./lib/WebSocket');
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (D:\pj\SkyRTC-demo-master\node_modules\skyrtc\SkyRTC.js:1:85)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

报错是什么问题

在同一局域网内访问失败

直接报create stream failed!但是是有接入进来的,
创建新连接
3
新用户a48f097b-ea30-4773-ab27-a82ab3707981加入房间12
解决了,是因为浏览器不支持了

在chrome上无法使用的问题

在win8.1 chrome34下加入房间后,看不到视频画面。在android4.1 chrome34下,加入房间后,浏览器崩溃了。

如何配置https

各位,我来考古了,这个项目如何配置https,有没有详细一点的教程。本人比较小白。

server.js不能运行

你好,我已经下载了代码,然后安装了nodejs的库,express,ws,和node-uuid,但是发现还是不能运行,错误是:module.js:340
throw err;
^
Error: Cannot find module 'skyrtc'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/raul_qiu/Downloads/SkyRTC-demo-master/server.js:4:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

谢谢

运行 node server.js 之后一直停留在那一行

姐姐 四年前的项目了 node LTS 版本都到8了更新一下吧

environment

  • node 8.9.2
  • OS macOS
➜  Repositories git clone https://github.com/LingyuCoder/SkyRTC-demo.git
Cloning into 'SkyRTC-demo'...
remote: Counting objects: 43, done.
remote: Total 43 (delta 0), reused 0 (delta 0), pack-reused 43
Unpacking objects: 100% (43/43), done.
➜  Repositories cd SkyRTC-demo
➜  SkyRTC-demo git:(master) npm install
npm WARN deprecated [email protected]: connect 2.x series is deprecated
npm WARN deprecated [email protected]: Use uuid module instead
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN SkyRTC-demo@ No repository field.
npm WARN SkyRTC-demo@ No license field.

added 22 packages in 181.675s
➜  SkyRTC-demo git:(master) ✗ node server.js

回声消除问题

自己的声音回声很严重,根本无法正常讲话,不带耳机的话啸叫音又飞起,有没有什么好点的解决方案呢?谢谢~

求解答下!

发消息时显示的是socketid,怎么能让他变成我想要显示的用户名呢?

https问题

hi,您好!这个demo是可以运行的,不走网卡完全没问题,但是部署到服务器就有了:getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.这个问题了,项目可以支持https吗?谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.