alo7 / rebirth Goto Github PK
View Code? Open in Web Editor NEWRecord a web page on the server
License: MIT License
Record a web page on the server
License: MIT License
getUserMedia 权限问题,这个可以处理吗?
录制出来的文件,大部分是vp8编码,少量h264编码,即使在MediaRecorder
初始化时设置了mimeType: "video/webm;codecs=h264"
,录出来的也大概率时vp8编码,不知道是什么原因,作者有遇到这种情况么?
唯独有两个白板回放,服务器返回500
请求地址 https://storage.netless.link/pv/slices/哈希值/snapshots?timestamp=1606388365362
response:
{
"title": "invalid json response body at http://akko-persistence.app.svc.cluster.local:8080/v2/slices/哈希值/snapshots?timestamp=1606388365362 reason: Unexpected end of JSON input",
"messages": [],
"requestId": "",
"region": "",
"traceStack": []
}
请问这种情况的原因是什么?
When rebuilding docker with latest version chrome(81)
The recording often crash with RESULT_CODE_INVALID_CMDLINE_URL
,
It does not crash without starting to record.
It works after switch back to chrome 80.
如何能够远程在console控制台执行各种命令
录制某个特定web时出现这个错误,请问下是什么原因呢
caught XIO error:
19/05/2021 17:22:30 deleted 64 tile_row polling images.
这是容器日志
{"source":"Server","message":"Server running at http://127.0.0.1:80/","level":"info","hostname":"rebirth-0","material_url":"https://github.com/","timestamp":"2020-06-24 15:17:51"}
(node:21) UnhandledPromiseRejectionWarning: TimeoutError: Timed out after 30000 ms while trying to connect to Chrome! The only Chrome revision guaranteed to work is r706915
at Timeout.onTimeout (/etc/www/node_modules/puppeteer-core/lib/Launcher.js:359:14)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
(node:21) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:21) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
你好,研究这个项目代码好久了,实现自动化录制的思路是在页面加载的时候document start启用content_script,然后调用injected与background通讯,再通过background调用recordding录制页面。
我理解的应该没问题吧?
但是项目里startChrome里面配置的扩展程序路径是extension_dist而不是chrome extension,这里不太理解,而且看extension_dist里的代码都是混淆过的
场景:
项目部署在香港那边安全性比较严格的测试环境,在内网测试是没有问题的,上了测试之后一直报 initTimeout 的问题,由于外网访问服务器必须经过路由的服务器做跳转,所以 devtool 也无法使用
问题:
我想问一下 rebirth 项目的启动是否需要允许外网可以访问才能正常启动吗
可以成功录制,不过视频质量很低。请问有什么方法可以提高么?尝试过修改mediarecorder的视频码率和mimetype,可是没啥作用。
为了能够自动启动录制,在chrome_extension目录下加了如下代码
(window as MyWindow & typeof globalThis).rebirth.start(); setTimeout(function() { (window as MyWindow & typeof globalThis).rebirth.stop('testing file'); }, 1000 * 60);
执行npm run build
更新dist文件夹下的脚本后,进行录制。得到了视频文件,但是打开之后进度条显示时长为0,并且无法播放,文件本身也很小(4kb)
请问是哪里出错了吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.