正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论