mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Fix srt to rtmp crash when sps or pps empty. v5.0.112 (#3323)
* SRT: fix crash when sps/pps empty. v5.0.112 Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
56040cab42
commit
09a96175e8
4 changed files with 12 additions and 2 deletions
|
@ -370,7 +370,8 @@
|
|||
XX(ERROR_SRT_CONN , 6006, "SrtConnection", "SRT connectin level error") \
|
||||
XX(ERROR_SRT_SOURCE_BUSY , 6007, "SrtStreamBusy", "SRT stream already exists or busy") \
|
||||
XX(ERROR_RTMP_TO_SRT , 6008, "SrtFromRtmp", "Covert RTMP to SRT failed") \
|
||||
XX(ERROR_SRT_STATS , 6009, "SrtStats", "SRT get statistic data failed")
|
||||
XX(ERROR_SRT_STATS , 6009, "SrtStats", "SRT get statistic data failed") \
|
||||
XX(ERROR_SRT_TO_RTMP_EMPTY_SPS_PPS , 6010, "SrtToRtmpEmptySpsPps", "SRT to rtmp have empty sps or pps")
|
||||
|
||||
/**************************************************/
|
||||
/* For user-define error. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue