1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #3176: GB28181: Error and logging for HEVC. v5.0.95 (#3276)

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.
This commit is contained in:
Winlin 2022-11-24 09:01:01 +08:00 committed by GitHub
parent 237d60a55d
commit af192d6184
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 38 additions and 8 deletions

View file

@ -131,6 +131,7 @@ enum SrsTsStream
// ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Reserved
// 0x15-0x7F
SrsTsStreamVideoH264 = 0x1b,
SrsTsStreamVideoHEVC = 0x24,
// User Private
// 0x80-0xFF
SrsTsStreamAudioAC3 = 0x81,