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

refactor gb28181, supporting SIP server enable, multiplex, API interface

This commit is contained in:
xialixin 2020-03-31 00:39:10 +08:00
parent 8b4f84e336
commit c99fb99ab6
15 changed files with 2524 additions and 980 deletions

View file

@ -322,6 +322,22 @@
#define ERROR_BASE64_DECODE 4039
#define ERROR_HTTP_STREAM_EOF 4040
///////////////////////////////////////////////////////
// GB28181 API error.
///////////////////////////////////////////////////////
#define ERROR_GB28181_SERVER_NOT_RUN 6000
#define ERROR_GB28181_SESSION_IS_EXIST 6001
#define ERROR_GB28181_SESSION_IS_NOTEXIST 6002
#define ERROR_GB28181_RTP_PORT_FULL 6003
#define ERROR_GB28181_PORT_MODE_INVALID 6004
#define ERROR_GB28181_VALUE_EMPTY 6005
#define ERROR_GB28181_ACTION_INVALID 6006
#define ERROR_GB28181_SIP_NOT_RUN 6007
#define ERROR_GB28281_SIP_INVITE_FAILED 6008
#define ERROR_GB28281_SIP_BYE_FAILED 6009
#define ERROR_GB28281_SIP_IS_INVITING 6010
#define ERROR_GB28281_CREATER_RTMPMUXER_FAILED 6011
///////////////////////////////////////////////////////
// HTTP API error.
///////////////////////////////////////////////////////