Fix log flooding issue when processing SRT streams containing SCTE-35 PIDs or other unrecognized stream types. The `SrsSrtFormat::on_srt_packet()` method continuously parses TS packets throughout the entire stream lifetime. The TS parser logs warnings for every unrecognized stream type (like SCTE-35) in the PMT, causing log flooding. However, `SrsFormat` is only used to detect audio/video codec information. Once both codecs are detected, there's no need to continue parsing TS packets. Note: This fix mitigates the problem - there will still be some warning logs during the initial codec detection phase (typically 5-10 seconds), but the continuous log flooding after codec detection is completely eliminated. |
||
|---|---|---|
| .. | ||
| 3rdparty | ||
| auto | ||
| cmake | ||
| conf | ||
| doc | ||
| etc/init.d | ||
| gdb | ||
| packaging/redhat | ||
| research | ||
| scripts | ||
| src | ||
| usr/lib/systemd/system | ||
| .gitignore | ||
| AUTHORS.md | ||
| AUTHORS.txt | ||
| configure | ||
| Dockerfile.builds | ||
| Dockerfile.cov | ||
| Dockerfile.pkg | ||
| Dockerfile.test | ||