Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/jamessanford/rtmp-debug

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jamessanford/rtmp-debug

  • v0.0.0-20230325013037-7a07d27057e8
  • Source
  • Go
  • Socket score

Version published
Created
Source

Show decoded RTMP commands from pcap wire data.

Only a subset of RTMP is implemented!

If a stream contains both connect and play commands, an rtmpdump translation will be shown.

Install:

go install github.com/jamessanford/rtmp-debug@latest

Usage:

rtmp-debug -i en4
rtmp-debug -f file.pcap

Internals:

We use tcpreader to get the invidual TCP streams.

We create individual processNewMessage goroutines for every "chunk stream ID" inside the TCP stream.

Dechunked messages are sent into their "chunk stream ID" goroutine for decoding.

Decoded commands are sent into one MessageFinalizer per TCP stream.

MessageFinalizer sends anything useful into the final results channel.

FAQs

Package last updated on 25 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc