1 Star 0 Fork 1

webrtcsfu/dump-webrtc-event-log

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Dump chrome://webrtc-internals event log

Chrome 49 added a highly useful event log which, among other things, contains the RTP packet headers of any packets received or sent. See http://www.rtc.news/posts/aqZx7tevokRoSrSfw/how-to-get-a-webrtc-diagnostic-recording-from-chrome-49 for how to get it.

Setup

Install Wireshark and node.js if not already installed.

To install the dependencies: npm install

Usage

To dump all the packets:

node dump event_log_file

To dump all RTP traffic into a pcapng:

node rtp.js <file> | text2pcap -D -4 1.1.1.1,2.2.2.2 -u 10000,20000 -t "%T." -n - output/some.pcapng

To dump only incoming or outgoing RTP traffic into a pcapng, use either incoming or outgoing flag:

node rtp.js <file> [incoming|outgoing] | text2pcap -D -4 1.1.1.1,2.2.2.2 -u 10000,20000 -t "%T." -n - output/some.pcapng

Generating the protobuf file

rtc_event_log.proto is generated from the description in the webrtc.org tree:

protoc-c webrtc/logging/rtc_event_log/rtc_event_log.proto -o rtc_event_log.desc

空文件

简介

用于分析webrtc-internals工具 dump的包及事件诊断日志(webrtc-internals dump diagnostic packet and event) 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/webrtcsfu/dump-webrtc-event-log.git
git@gitee.com:webrtcsfu/dump-webrtc-event-log.git
webrtcsfu
dump-webrtc-event-log
dump-webrtc-event-log
master

搜索帮助