Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: text2pcap helpers (RTP/RTCP capturing) #1065

Merged
merged 5 commits into from
Feb 8, 2024
Merged

misc: text2pcap helpers (RTP/RTCP capturing) #1065

merged 5 commits into from
Feb 8, 2024

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Feb 7, 2024

text2pcap is useful for debugging encrypted connections like DTLS_SRTP from application context.

See: https://blog.mozilla.org/webrtc/debugging-encrypted-rtp-is-more-fun-than-it-used-to-be/

jq -r ".traceEvents[] | select (.cat == \"pcap\") | .args.pcap" re_trace.json | text2pcap -D -n -l1 -i17 -u 1000,2000 -t '%H:%M:%S.%f' - dump.pcapng

Documentation: https://github.com/baresip/baresip/wiki/Text2pcap-RTP-and-RTCP-capturing

src/fmt/text2pcap.c Fixed Show fixed Hide fixed
@sreimers sreimers force-pushed the text2pcap branch 3 times, most recently from d4fc47c to 8409a57 Compare February 7, 2024 15:17
@sreimers sreimers marked this pull request as ready for review February 7, 2024 15:34
@sreimers sreimers marked this pull request as draft February 7, 2024 19:50
@sreimers sreimers changed the title fmt: add text2pcap format helper misc: text2pcap helpers (RTP/RTCP capturing) Feb 7, 2024
@sreimers sreimers marked this pull request as ready for review February 8, 2024 10:16
@sreimers sreimers merged commit c26e885 into main Feb 8, 2024
46 checks passed
@sreimers sreimers deleted the text2pcap branch February 8, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant