From 9055d8eecf0a29e3e6b76a246a5cdca2801d1be2 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 23 Mar 2014 18:03:24 +0800 Subject: [PATCH] update readme. --- README.md | 2 +- trunk/auto/local_ip.sh | 2 +- trunk/conf/console.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 10a6f01f4..aed0a3b3d 100755 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ rtmp([encoder push](https://github.com/winlinvip/simple-rtmp-server/wiki/Deliver Blog: [http://blog.csdn.net/win_lin](http://blog.csdn.net/win_lin)
See also: [https://github.com/winlinvip/simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server)
-Github demo(with your SRS): [http://winlinvip.github.io/simple-rtmp-server](http://winlinvip.github.io/simple-rtmp-server)
+Github demo(with your SRS): [http://winlinvip.github.io/simple-rtmp-server](http://winlinvip.github.io/simple-rtmp-server/trunk/research/players/srs_player.html?server=192.168.1.170&vhost=192.168.1.170)
Wiki: [https://github.com/winlinvip/simple-rtmp-server/wiki](https://github.com/winlinvip/simple-rtmp-server/wiki)
TencentQQ: [http://url.cn/WAHICw](http://url.cn/WAHICw) (Group: 212189142) diff --git a/trunk/auto/local_ip.sh b/trunk/auto/local_ip.sh index a6325f049..6e6088ca9 100755 --- a/trunk/auto/local_ip.sh +++ b/trunk/auto/local_ip.sh @@ -1,6 +1,6 @@ ip=`ifconfig 2>&1|grep 'inet addr'|grep -v '127.0.0.1'|awk 'NR==1 {print $2}'|awk -F ':' '{print $2}'` if [[ -z $ip ]]; then - echo "localhost" + echo "127.0.0.1" else echo $ip fi diff --git a/trunk/conf/console.conf b/trunk/conf/console.conf index 032494cc6..5cff76564 100644 --- a/trunk/conf/console.conf +++ b/trunk/conf/console.conf @@ -1,4 +1,4 @@ -# main config for srs. +# no-daemon and write log to console config for srs. # @see full.conf for detail config. listen 1935;