mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
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:
parent
56bf2a421f
commit
e6ccd8ec9a
6 changed files with 37 additions and 10 deletions
|
@ -66,6 +66,10 @@ private:
|
|||
SrsPsPacket* current_;
|
||||
// Whether detect PS packet header integrity.
|
||||
bool detect_ps_integrity_;
|
||||
public:
|
||||
// The stream type parsed from latest PSM packet.
|
||||
SrsTsStream video_stream_type_;
|
||||
SrsTsStream audio_stream_type_;
|
||||
public:
|
||||
SrsPsContext();
|
||||
virtual ~SrsPsContext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue