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

URI: Refine uri parser

This commit is contained in:
winlin 2020-11-10 18:51:21 +08:00
parent efca38cd89
commit 07c04a042a
4 changed files with 103 additions and 11 deletions

View file

@ -26,6 +26,18 @@
#include <srs_core.hpp>
// Default port of rtmp
#define SRS_CONSTS_RTMP_DEFAULT_PORT 1935
// Default http listen port.
#define SRS_DEFAULT_HTTP_PORT 80
// Default https listen port.
#define SRS_DEFAULT_HTTPS_PORT 443
// Default Redis listen port.
#define SRS_DEFAULT_REDIS_PORT 6379
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
@ -39,8 +51,6 @@
// Default vhost of rtmp
#define SRS_CONSTS_RTMP_DEFAULT_VHOST "__defaultVhost__"
#define SRS_CONSTS_RTMP_DEFAULT_APP "__defaultApp__"
// Default port of rtmp
#define SRS_CONSTS_RTMP_DEFAULT_PORT 1935
// The default chunk size for system.
#define SRS_CONSTS_RTMP_SRS_CHUNK_SIZE 60000