diff --git a/trunk/scripts/run.sh b/trunk/scripts/run.sh index 7cc9c32e9..5fe698d4f 100755 --- a/trunk/scripts/run.sh +++ b/trunk/scripts/run.sh @@ -32,6 +32,19 @@ cat</dev/null 2>&1; +if [[ $? -ne 3 ]]; then + echo -e "${RED}请关闭防火墙:${BLACK}"; + echo -e "${RED} sudo /etc/init.d/iptables stop${BLACK}"; +fi + echo -e "${GREEN}请在hosts中添加一行:${BLACK}" echo -e "${RED} $ip demo.srs.com${BLACK}" echo -e "${GREEN}演示地址:${BLACK}" diff --git a/trunk/src/core/srs_core.hpp b/trunk/src/core/srs_core.hpp index 43ed8a676..fae219736 100644 --- a/trunk/src/core/srs_core.hpp +++ b/trunk/src/core/srs_core.hpp @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // current release version #define VERSION_MAJOR "0" #define VERSION_MINOR "9" -#define VERSION_REVISION "224" +#define VERSION_REVISION "225" #define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION // server info. #define RTMP_SIG_SRS_KEY "SRS"