1. Parse video codec from PSM packet. 2. Return error and logging if HEVC packet. 3. Ignore invalid AVC NALUs, drop AVC AUD and SEI. 4. Disconnect TCP connection if HEVC.
The reference docs.
SRS 4.0 English
SRS 4.0 中文文档
SRS 5.0 English
SRS 5.0 中文文档
Winlin