Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

programmerZhou/rtmp-debug

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Usage:

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

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.

About

Decode RTMP commands from pcap wire data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.