You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk
Winlin ce2ce1542f
Add a TCP proxy for debugging. v6.0.117 (#3958)
When debugging the RTMP protocol, we can capture packets using tcpdump
and then replay the pcap file. For example:

```bash
cd ~/git/srs/trunk/3rdparty/srs-bench/pcap
tcpdump -i any -w t.pcap tcp port 1935
go run . -f ./t.pcap -s 127.0.0.1:1935
```

However, sometimes due to poor network conditions between the server and
the client, there may be many retransmitted packets. In such cases,
setting up a transparent TCP proxy that listens on port 1935 and
forwards to port 19350 can be a solution:

```bash
./objs/srs -c conf/origin.conf 
cd 3rdparty/srs-bench/tcpproxy/ && go run main.go
tcpdump -i any -w t.pcap tcp port 19350
```

This approach allows for the implementation of packet dumping,
multipoint replication, or the provision of detailed timestamps and byte
information at the proxy. It enables the collection of debugging
information without the need to modify the server.



---------

`TRANS_BY_GPT4`

---------

Co-authored-by: john <hondaxiao@tencent.com>
12 months ago
..
3rdparty Add a TCP proxy for debugging. v6.0.117 (#3958) 12 months ago
auto Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 1 year ago
conf System: Disable feature that obtains versions and check features status. v5.0.209 v6.0.115 (#3990) 12 months ago
doc Add a TCP proxy for debugging. v6.0.117 (#3958) 12 months ago
etc/init.d Squash: Fix bugs 3 years ago
gdb The identifier "ShowCouroutines" needs to be modified to "ShowCoroutines" in order to rectify the typographical error. v6.0.63 (#3703) 2 years ago
ide/srs_clion Change the hls_aof_ratio to 2.1. v5.0.200 v6.0.101 (#3886) 1 year ago
modules Moduels: Refine the description 4 years ago
packaging Windows: Refine cygwin pipeline (#3260) 2 years ago
research WebRTC: Add support for A/V only WHEP/WHEP player. v6.0.116 (#3964) 12 months ago
scripts Package script support extra options. v5.0.102 2 years ago
src Add a TCP proxy for debugging. v6.0.117 (#3958) 12 months ago
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 3 years ago
.gitignore For #2136: API: Cleanup no active streams for statistics. v5.0.42 3 years ago
AUTHORS.md Update contributors. 1 year ago
AUTHORS.txt Update AUTHORS 4 years ago
Dockerfile.builds Use new cache image name. v6.0.86 (#3815) 1 year ago
Dockerfile.cov Asan: Refine asan warning message for macOS. 2 years ago
Dockerfile.pkg Merge branch v5.0.103 into develop 2 years ago
Dockerfile.test Fix opus delay options, use ffmpeg-opus in docker test. v6.0.102 (#3883) 1 year ago
configure Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 1 year ago