winlin

update readme.

@@ -15,7 +15,7 @@ rtmp([encoder push](https://github.com/winlinvip/simple-rtmp-server/wiki/Deliver @@ -15,7 +15,7 @@ rtmp([encoder push](https://github.com/winlinvip/simple-rtmp-server/wiki/Deliver
15 15
16 Blog: [http://blog.csdn.net/win_lin](http://blog.csdn.net/win_lin) <br/> 16 Blog: [http://blog.csdn.net/win_lin](http://blog.csdn.net/win_lin) <br/>
17 See also: [https://github.com/winlinvip/simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server) <br/> 17 See also: [https://github.com/winlinvip/simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server) <br/>
18 -Github demo(with your SRS): [http://winlinvip.github.io/simple-rtmp-server](http://winlinvip.github.io/simple-rtmp-server) <br/> 18 +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) <br/>
19 Wiki: [https://github.com/winlinvip/simple-rtmp-server/wiki](https://github.com/winlinvip/simple-rtmp-server/wiki) <br/> 19 Wiki: [https://github.com/winlinvip/simple-rtmp-server/wiki](https://github.com/winlinvip/simple-rtmp-server/wiki) <br/>
20 TencentQQ: [http://url.cn/WAHICw](http://url.cn/WAHICw) (Group: 212189142) 20 TencentQQ: [http://url.cn/WAHICw](http://url.cn/WAHICw) (Group: 212189142)
21 21
1 ip=`ifconfig 2>&1|grep 'inet addr'|grep -v '127.0.0.1'|awk 'NR==1 {print $2}'|awk -F ':' '{print $2}'` 1 ip=`ifconfig 2>&1|grep 'inet addr'|grep -v '127.0.0.1'|awk 'NR==1 {print $2}'|awk -F ':' '{print $2}'`
2 if [[ -z $ip ]]; then 2 if [[ -z $ip ]]; then
3 - echo "localhost" 3 + echo "127.0.0.1"
4 else 4 else
5 echo $ip 5 echo $ip
6 fi 6 fi
1 -# main config for srs. 1 +# no-daemon and write log to console config for srs.
2 # @see full.conf for detail config. 2 # @see full.conf for detail config.
3 3
4 listen 1935; 4 listen 1935;