jitsi-meet 本地安装 web访问

2,063 阅读1分钟
  • 下载jitsi-meet 代码:

    git clone https://github.com/jitsi/jitsi-meet.git

  • 进入目录

    cd jitsi-meet

  • 安装依赖(可能会比较慢,需要等待)

    npm i 

  • 编译代码

    make

  • 如果需要本地启动服务(使用库资源,其他方法见最后)

    cd ..

  • 下载lib-jitsi-meet

    git clone https://github.com/jitsi/lib-jitsi-meet.git
    cd lib-jitsi-meet
    npm i
    #### create global symlink for lib-jitsi-meet package
    npm link
    cd ../jitsi-meet
    npm link lib-jitsi-meet

  • 启动本地

    make dev


访问https://localhost:8080/ 建议使用火狐最近版本可以加上https 签证,其他浏览器存在签证问题。

  • 编译代码

    make

       这里会产生libs 文件

官方还提供其他方法:

Working with the library sources (lib-jitsi-meet)

By default the library is build from its git repository sources. The default dependency path in package.json is :

"lib-jitsi-meet": "jitsi/lib-jitsi-meet",

To work with local copy you must change the path to:

"lib-jitsi-meet": "file:///Users/name/local-lib-jitsi-meet-copy",

To make the project you must force it to take the sources as 'npm update':

npm install lib-jitsi-meet --force && make

Or if you are making only changes to the library:

npm install lib-jitsi-meet --force && make deploy-lib-jitsi-meet