Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
johzzy committed Apr 18, 2023
1 parent 4c925c5 commit 7ae6410
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion trunk/src/kernel/srs_kernel_error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,15 @@
XX(ERROR_RTC_TCP_SIZE , 5032, "RtcTcpSize", "RTC TCP packet size is invalid") \
XX(ERROR_RTC_TCP_PACKET , 5033, "RtcTcpStun", "RTC TCP first packet must be STUN") \
XX(ERROR_RTC_TCP_STUN , 5034, "RtcTcpSession", "RTC TCP packet is invalid for session not found") \
XX(ERROR_RTC_TCP_UNIQUE , 5035, "RtcUnique", "RTC only support one UDP or TCP network")
XX(ERROR_RTC_TCP_UNIQUE , 5035, "RtcUnique", "RTC only support one UDP or TCP network") \
XX(ERROR_RTC_RTP_NO_SN , 5036, "RtcNoSN", "RTC no seq num") \
XX(ERROR_RTC_NO_PLUBLSHER , 5037, "RtcNoPublisher", "RTC no publisher") \
XX(ERROR_STREAM_URL_INVALID_FORMAT , 5038, "RtcStreamUrlInvalidFormat", "RTC stream url invaild format")

// note: add eror code for extra feature
// #define ERROR_RTC_RTP_NO_SN 5032
// #define ERROR_RTC_NO_PLUBLSHER 5033
// #define ERROR_STREAM_URL_INVALID_FORMAT 5034

/**************************************************/
/* SRT protocol error. */
Expand Down

0 comments on commit 7ae6410

Please sign in to comment.