Git Product home page Git Product logo

mediasoup-demo's People

Contributors

copiltembel avatar haiyangwu avatar havfo avatar ibc avatar jmillan avatar michaeljcole avatar muokicaleb avatar namnm avatar persiliao avatar realnumber avatar scaret avatar skubarenko avatar vpalmisano avatar weichun0911 avatar

mediasoup-demo's Issues

vagrant(linux) host(windows): connect failed

Vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = "generic/centos8"
  config.vm.network "forwarded_port", guest: 22, host: 2200
  config.vm.network "forwarded_port", guest: 3000, host: 13000
  config.vm.network "forwarded_port", guest: 3001, host: 13001
  config.vm.network "forwarded_port", guest: 4443, host: 4443
  config.vm.network "forwarded_port", guest: 49990, host: 49990, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49991, host: 49991, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49992, host: 49992, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49993, host: 49993, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49994, host: 49994, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49995, host: 49995, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49996, host: 49996, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49997, host: 49997, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49998, host: 49998, protocol: "udp"
  config.vm.network "forwarded_port", guest: 49999, host: 49999, protocol: "udp"
   config.vm.provider "virtualbox" do |vb|
     vb.memory = "2048"
     vb.cpus = 8
  end
end

error:
cannnot access by

[Browsersync] Access URLs:
 ----------------------------------------------
       Local: https://localhost:3000/?info=true
    External: https://10.0.2.15:3000/?info=true
 ----------------------------------------------
          UI: http://localhost:3001
 UI External: http://localhost:3001

app install error

error

[root@centos7 app]# node -v
v16.20.2
[root@centos7 app]# npm i
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=^16.0.0" of package "react@>=^16.0.0": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-08-22T07_12_15_664Z-debug-0.log

solution

npm install --legacy-peer-deps

refer:ReactTooltip/react-tooltip#661

start server missing fullchain.pem

node:fs:603
handleErrorFromBinding(ctx);
^

Error: ENOENT: no such file or directory, open '/root/mediasoup-demo/server/certs/fullchain.pem'
at Object.openSync (node:fs:603:3)
at Object.readFileSync (node:fs:471:35)
at runHttpsServer (/root/mediasoup-demo/server/server.js:451:13)
at run (/root/mediasoup-demo/server/server.js:75:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/root/mediasoup-demo/server/certs/fullchain.pem'
}

Node.js v18.17.1

python version too old that caused build server error

Error as follow:

npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm ERR! code 1
npm ERR! path /root/mediasoup-demo/server/node_modules/heapdump
npm ERR! command failed
npm ERR! command sh -c -- node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp ERR! find Python 
npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
npm ERR! gyp ERR! find Python checking if "python3" can be used
npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
npm ERR! gyp ERR! find Python checking if "python" can be used
npm ERR! gyp ERR! find Python - executable path is "/bin/python"
npm ERR! gyp ERR! find Python - version is "2.7.5"
npm ERR! gyp ERR! find Python - version is 2.7.5 - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python 
npm ERR! gyp ERR! find Python **********************************************************
npm ERR! gyp ERR! find Python You need to install the latest version of Python.
npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
npm ERR! gyp ERR! find Python you can try one of the following options:
npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
npm ERR! gyp ERR! find Python For more information consult the documentation at:
npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
npm ERR! gyp ERR! find Python **********************************************************
npm ERR! gyp ERR! find Python 
npm ERR! gyp ERR! configure error 
npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
npm ERR! gyp ERR! stack     at PythonFinder.fail (/root/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/root/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/root/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/root/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:394:7)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1100:16)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm ERR! gyp ERR! System Linux 3.10.0-1160.88.1.el7.x86_64
npm ERR! gyp ERR! command "/root/.nvm/versions/node/v16.20.2/bin/node" "/root/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /root/mediasoup-demo/server/node_modules/heapdump
npm ERR! gyp ERR! node -v v16.20.2
npm ERR! gyp ERR! node-gyp -v v9.1.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-08-22T08_44_56_224Z-debug-0.log

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.