Giter Club home page Giter Club logo

douyuhtml5player's Introduction

Hi there 👋

Github stats

Twitter: https://twitter.com/spacemeowx2

关于我

  • 天天写前端, 很喜欢 TypeScript 和 Rust

  • 舞萌(maimai)刚入门(2023-7)

  • Splatoon(2017-7-21), Apex Legends (2022-6) 玩家(玩的不是特别好, 不过也不菜)

  • 会一点逆向, 一点点PWN, 一点点点Web(已经好几年没打CTF了). 打过DEF CON CTF

  • 平时会写一些玩的游戏/主机的工具, 还有代理相关的东西

项目简介

  • switch-lan-play: 给 Switch 模拟局域网和应用 SOCKS 5 代理的工具

  • ldn_mitm: 把 CFW Switch 的本地联机改成局域网联机的 sysmodule

  • rabbit-digger-pro: 用 Rust 写的兼容 Clash 订阅文件的代理工具

  • s3si.ts: 将 鱿鱼圈3(Splatoon3) 战绩导出到 stat.ink 的工具

  • LiveHelper: 浏览器插件, 将多个平台的关注主播整合到一个界面(很久没更新了)

douyuhtml5player's People

Contributors

getrix avatar spacemeowx2 avatar zhaojiankai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

douyuhtml5player's Issues

New API

cc.dy.view.load.LoadMediator -> sample.xx.F_sub_13 -> F__Z8sub_C5E3P16DanmakuStructTagiPPcS2

F__Z8sub_C5E3P16DanmakuStructTagiPPcS2 主要调用了以下函数(按顺序)

F_func_2476e15e57ddb2b4 * 2

F_AES_decrypt

F_snprintf

F_strlen

F__Z21Func_86C8982CCCC5E7A0jPKciPc

F_strlen

火狐扩展版不兼容52?

脚本版正常,扩展版的播放器加载不正常,但右击黑屏画面可以出现画质,透明度等选项
火狐版本52.3,把其它扩展全禁用,只留斗鱼html5扩展也是一样不行

试了火狐56b7版本,扩展正常使用

firefox 失效

有弹幕,但是怎么都刷不出直播,,,,chrome正常。
环境:Ubuntu 16.10 
firefox53 
tempermonkey 4.3.5393
插件版本 0.5.5
不知道怎么debug呢?

build fail

[email protected] build /home/tom/Documents/test/douyu/DouyuHTML5Player
node build/build.js

dist/danmu.css 7.51kb
Treating 'flv.js' as external dependency
Could not resolve 'TypeState' from /home/tom/Documents/test/douyu/DouyuHTML5Player/src/danmuPlayer.ts
Error: Could not resolve 'TypeState' from /home/tom/Documents/test/douyu/DouyuHTML5Player/src/danmuPlayer.ts
at /home/tom/Documents/test/douyu/DouyuHTML5Player/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js:85:23

你找到操作flash的代码了吗?

我想用js代码停止flash直播、或者调整声音,找了半天没找到接口,你看到了吗?
我查了半天,好像必须flash内部实现External接口,否则模拟点击都不行。

根据vt计算出vk,好像不对

在api.ts中vk: md5(${rt}r5*^5;}2#\${XF[h+;'./.Q'1;,-]f'p[${devid}),和我截包出来计算对不上.请问什么原因?能否留个联系方式?

bug report

node build/build.js

sh: 1: node: not found

npm ERR! Linux 4.4.0-51-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build: node build/build.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build script 'node build/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the douyu-html5-player package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs douyu-html5-player
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls douyu-html5-player
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/patrick/下载/DouyuHTML5Player-master/npm-debug.log

失效了

打开直播是黑屏.停用就出来了.

0.7.1 QQ浏览器下无法使用

前几天0.7.0在QQ浏览器下是可用的,0.7.1突然就不可用了……

background.js 88行 unexpected identifier错误

F12控制台: Uncaught (in promise) Error: Attempting to use a disconnected port

如果开发者有精力可以测试一下,谢谢~

ESC退出全屏后会自动进入网页全屏

使用的是脚本,Firefox 51 GM 3.9
全屏后按ESC并不会返回普通模式而是会进入网页全屏,只有再按一下ESC才能回到普通模式
不知道是BUG还是就是这样设计的

另还有一个问题使用Flash播放器时走到一半的弹幕全屏后弹幕还在,但HTML5播放器全屏后之前走到一般的弹幕全部消失

斗鱼网页端限制码率的问题

现在网页端限制码率很疯狂
同一个直播间,网页看超清都全屏马赛克,但是用客户端看就很清楚
这个插件有没有办法获取到客户端的播放地址啊?

Do not support some livestreams

error messages are

[flv.js] > Parsed AVCDecoderConfigurationRecord
[flv.js] > DemuxException: type = CodecUnsupported, info = Flv: Unsupported audio codec idx: 2
e @ douyuCS.js:10690
[flv.js] > Received Initialization Segment, mimeType: video/mp4;codecs=avc1.64002a
播放器发生错误:MediaError - CodecUnsupported
(anonymous) @ douyuCS.js:11286

great stuff
thanks for your work

Firefox55.0.2 无法替换

log:

onVideoId Object { roomId: "24422", id: "douyu_room_flash_proxy" }  %25E6%2596%2597%25E9%25B1%25BCHTML5%25E6%2592%25AD%25E6%2594%25BE%25E5%2599%25A8.user.js:4302:23
需要开启 Flash 才能获取直播地址  %25E6%2596%2597%25E9%25B1%25BCHTML5%25E6%2592%25AD%25E6%2594%25BE%25E5%2599%25A8.user.js:4336:27
SIGNER_READY false  %25E6%2596%2597%25E9%25B1%25BCHTML5%25E6%2592%25AD%25E6%2594%25BE%25E5%2599%25A8.user.js:4290:11
SIGNER_READY false  %25E6%2596%2597%25E9%25B1%25BCHTML5%25E6%2592%25AD%25E6%2594%25BE%25E5%2599%25A8.user.js:4290:11

flash已经打开了

Can't be used any longer

Seems Douyu has an update on it's mechanism and now this plugin can not successfully replace the flash player with html5 player. This happens for many people I know so I guess this should not be my own devices' problem.

firefox 升级到 57 以后脚本似乎失效了?

firefox 升级到了 57,具体版本号是57.0 b9
greasemonkey 的版本号是 4.0 alpha 7
脚本失效,一直黑屏
禁用 greasemonkey 试用了一下 violentmonkey 2.8.13 仍然是同样情况,一直黑屏
没升级 57 以前一切正常

性能太低,导致音画不同步。

你这个是否支持GPU硬件加速呢?
我用了一段时间,发现音画不同步啊~~
声音并没有卡顿,却比画面慢,而且慢的越来越多。

有些直播间卡的鬼畜了

百分浏览器 64位 内核60 win7x64
看一些户外的手机直播的直播间,卡的鬼畜 切换成flash就没问题
反而看电脑直播的游戏直播间,这些直播间码率高但是正常

斗鱼首页出现原生HTML5 Beta播放器

斗鱼首页推荐位右键菜单出现试用HTML5播放器
但仍然加载了两个swf ClientProxyIndex.swfindexnetcore.swf
是否有可能通过在房间内调用这两个swf实现获取播放地址?

另外主页上仅有 ClientProxyIndex.swf 在播放后实际留存,不负责任瞎猜,主要逻辑可能在这个swf。

chrome 弹幕无法加载

右侧边栏为空白,包括榜单以及弹幕&礼物。

地址栏右侧一直显示flash被blocked但是在chrome://settings/content/flash下已经enable了flash。。很奇怪。。最新版的chrome里 chrome://flags/#run-all-flash-in-allow-mode 这个选项已经不存在了。

不加载html5player时地址栏右侧仍显示flash 被blocked,但是右侧边栏加载正常,弹幕以及榜单显示正常

斗鱼协议似乎更新

看日期是5月2日更新的, 大概作用是在协议里像keepalive一样定期向服务器发送请求保持流的可用.

估计一个月内会实施. 看来FlashEmu要赶紧做出来了= =

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.