Comments (10)
Try npm i -g browserify
. Regarding SSL files, you need to use absolute path.
from mediasoup-sample-app.
Okay, browserify is installed globally.
The SSL files are being accessed by:
sslCrt: '/etc/ssl/certs/ssl-cert-snakeoil.pem', sslKey: '/etc/ssl/private/ssl-cert-snakeoil.key',
and I've verified that those files do exist. Yet, it is still printing SSL files are not found. check your config.js file
Would it be related to the security of the private folder? Please tell me how to fix this.
from mediasoup-sample-app.
Would it be related to the security of the private folder?
Maybe, try chmod 644 /etc/ssl/certs/*
.
from mediasoup-sample-app.
that worked with sudo. but I have the same error, still! :/
from mediasoup-sample-app.
It's just the .key file that isn't being found, it IS there. I used chmod 644 on that, as well, to no avail...?
from mediasoup-sample-app.
Have you tried sudo
for running the app?
from mediasoup-sample-app.
yes - the first thing I tried - the same issue.
from mediasoup-sample-app.
I don't think it's a good idea to be running a node app with root privileges, anyway. But I did try it, to no avail.
from mediasoup-sample-app.
No idea honestly.
from mediasoup-sample-app.
If you make the certs relative instead you can add some temporary local versions in config.js:
sslCrt: 'certs/ssl-cert-snakeoil.pem',
sslKey: 'certs/ssl-cert-snakeoil.key',
Paraphrasing from this answer you should be able to just do this:
openssl genrsa > ssl-cert-snakeoil.key
openssl req -new -x509 -key ssl-cert-snakeoil.key > ssl-cert-snakeoil.pem
Regarding browserify: installing it globally didn't work for me (probably MacOS paths), but you can installed it as a devDependency:
"devDependencies": {
"requirejs": "^2.3.6",
"browserify": "latest"
}
from mediasoup-sample-app.
Related Issues (20)
- Do not use latest as versions for mediasoup and mediasoup-client in package.json HOT 2
- Chrome Subscription fails - "Cannot access 'stream' before initialization" HOT 17
- Connect works, start webcam also works, but after that subscribe does not work. HOT 3
- Question about sample HOT 1
- Audio transmission problems HOT 1
- How to choose the subscription ? HOT 1
- how can I use H264? HOT 2
- ICE failed, add a STUN server and see about:webrtc for more details HOT 2
- Firefox: ICE failed, add a STUN server and see about:webrtc for more details HOT 3
- Deploying on Heroku HOT 1
- a question about the code not a issue. HOT 4
- NPM error on installing Mediasoup package HOT 2
- No audio is transmitted HOT 1
- Neither sending nor receiving video HOT 6
- Unable to receive remote video HOT 6
- Cannot publish video HOT 1
- Audio not working HOT 1
- how to full screen and record video? HOT 1
- FYI: You don't need to use SSL on localhost! :-) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediasoup-sample-app.