Code Monkey home page Code Monkey logo

mac-obs-danmu-diange's Introduction

项目地址:https://github.com/itgoyo/Mac-OBS-DanMu-DianGe

源项目地址: https://github.com/Clunt/livetool

简介:Mac版本的OBS很多动能都没有,不像在Windows下面有小葫芦直播工具,简单无脑的就可以往里面添加插件,连弹幕显示,点歌功能都没有。自己在无聊的时候看到一位朋友@Clunt在斗鱼直播敲代码,然后觉得他做的页面挺好看的,然后一问是他自己做的一个框架,支持弹幕提醒还有弹幕点歌。中间有什么不懂的都问他,他都一一解答了。

步骤:

  • 安装node.js
  • 下完Github项目文件
  • Chrome安装项目文件中的extension插件

使用终端进入到项目文件然后使用命令node ./bin/www出现一下内容就表示成功,其中201001是我自己的房间号,需要自己修改根目录下面的config.js文件,改成自己的房间号。

务器已运行,端口: 6688
登陆: 201001
登陆成功: 201001
加入全局分组

为了方便测试是否已经搭建成功,最好先用此时此刻在播的人气比较多的房间,因为里面弹幕多方便测试。还有很多主播的房间号都改成了自己的id,这时候怎么获取到他的房间号呢,直接点击举报,在举报项目页面会有主播相应的房间号码。

需要打开的三个网页分别如下

直播工具管理终端:http://127.0.0.1:6688/#admin?core

直播工具显示页面:http://127.0.0.1:6688

网易云在线点歌页面:http://music.163.com/?livetool#/search/

点歌命令

#点歌 歌名@歌手#
#切歌#

本人使用框架所遇到的问题以及解决方式:

Error: Cannot find module 'express'

解决办法:npm install express

Error: Cannot find module '../config'

解决办法:cp doc/config.js config.js也就是把doc目录下面的config.js复制到根目录

点歌页面已经有歌曲的名称但是没有在网易云网页版播放

解决办法: Chrome安装项目文件中的extension插件,不会安装的自行百度


备注:

1.想要使用麦克风的话,就在OBS属性里soundflower 64ch

2.打开Audio Hijack然后打开麦克风输入

3.在右上角喇叭部分选择多设备输出,这样子才有声音

Linux版本注意

由于原本官方没有提供自带的浏览器插件,所以在Linux也想使用这个环境的话需要安装一个OBS的插件地址https://github.com/bazukas/obs-linuxbrowser

  • mkdir -p $HOME/.config/obs-studio/plugins
  • tar xfvz linuxbrowser0.3.1-obs20.0.1-64bit.tgz -C $HOME/.config/obs-studio/plugins/
  • Install the dependencies: libgconf-2-4 (sudo apt-get install libgconf-2-4 in Ubuntu)

mac-obs-danmu-diange's People

Contributors

itgoyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gechangli

mac-obs-danmu-diange's Issues

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.