Victor Boivie 6174173f81 sctp: dcsctp: Print SCTP packets to logs
When verbose logs are enabled, SCTP packets will be dumped to debug
logs, allowing text2pcap to be used to generate PCAP files.

First start Chrome with verbose logs, and write those to file:

  /path/to/chrome --enable-logging=stderr --v=4 2> out.log

Then extract the SCTP_PACKET traces and run text2pcap:

  grep SCTP_PACKET out.log > sctp.log

  text2pcap -n -i 132 -D -t '%H:%M:%S.' sctp.log sctp.pcapng

You may have to cut away more from the beginning if the debug logs
contain additional timestamps and more, e.g. like:

  grep SCTP_PACKET out.log | cut -d ' ' -f 2- > sctp.log

Note that if there are multiple RTCPeerConnection objects created, each
will print out their packets to log, so to filter for a specific one:

  grep "SCTP_PACKET DcSctpTransport0" out.log > sctp.log

Bug: webrtc:12614
Change-Id: Ibbceaf33719d09e7606247cb0496ddd827ea58bb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/218200
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33999}
2021-05-12 15:17:17 +00:00
2021-05-07 10:01:55 +00:00
2021-01-20 15:01:07 +00:00
.gn
2021-05-03 14:23:09 +00:00
2021-04-26 16:39:07 +00:00
2020-07-13 11:42:07 +00:00
2021-04-20 10:58:08 +00:00
2021-03-22 11:57:23 +00:00

WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.

Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.

The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.

Development

See here for instructions on how to get started developing with the native code.

Authoritative list of directories that contain the native API header files.

More info

Description
The idea is to make CMake build for WebRTC m130 version - for audio processing module
Readme BSD-3-Clause 446 MiB
Languages
C++ 90.3%
Java 2.9%
C 2.2%
Objective-C++ 2%
Python 1.3%
Other 1%