From ac1a2f911681fdb0703c424d44b177f1b65b1f2a Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 24 Dec 2013 11:00:07 +0800 Subject: [PATCH 01/30] add tencent QQ group link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 454290ade..e385e9853 100755 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ srs supports vhost, rtmp, HLS, transcoding, forward, http hooks.
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)
see also: [http://winlinvip.github.io/simple-rtmp-server](http://winlinvip.github.io/simple-rtmp-server) -TencentQQ: http://url.cn/WAHICw (Group: 212189142) +TencentQQ: [http://url.cn/WAHICw](http://url.cn/WAHICw) (Group: 212189142) ### Contributors winlin([winterserver](#)): [http://blog.csdn.net/win_lin](http://blog.csdn.net/win_lin)
From bc2125faa955236cdf902e32f49b70d9d0f609a7 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 24 Dec 2013 11:01:11 +0800 Subject: [PATCH 02/30] add tencent QQ group link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e385e9853..c7022e0d7 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ srs is a simple, high-performance, running in single process, origin live server srs supports vhost, rtmp, HLS, transcoding, forward, http hooks.
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)
-see also: [http://winlinvip.github.io/simple-rtmp-server](http://winlinvip.github.io/simple-rtmp-server) +see also: [http://winlinvip.github.io/simple-rtmp-server](http://winlinvip.github.io/simple-rtmp-server)
TencentQQ: [http://url.cn/WAHICw](http://url.cn/WAHICw) (Group: 212189142) ### Contributors From cb0c7dcf2e55c65a77ff597d95c688df1cad199f Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 25 Dec 2013 12:48:17 +0800 Subject: [PATCH 03/30] fix the bitrate bug(in Bps), use enhanced microphone. --- README.md | 1 + trunk/research/players/index.html | 1 + trunk/research/players/js/srs.js | 186 +++++++++--------- trunk/research/players/js/srs.log.js | 24 +++ trunk/research/players/jwplayer6.html | 1 + trunk/research/players/osmf.html | 1 + trunk/research/players/srs_bwt.html | 1 + trunk/research/players/srs_chat.html | 3 +- trunk/research/players/srs_player.html | 1 + .../players/srs_player/release/srs_player.swf | Bin 5274 -> 5333 bytes .../players/srs_player/src/srs_player.as | 7 +- trunk/research/players/srs_publisher.html | 1 + .../srs_publisher/release/srs_publisher.swf | Bin 4524 -> 4608 bytes .../srs_publisher/src/srs_publisher.as | 37 ++-- trunk/research/players/vlc.html | 1 + 15 files changed, 152 insertions(+), 113 deletions(-) create mode 100755 trunk/research/players/js/srs.log.js diff --git a/README.md b/README.md index c7022e0d7..68690bd5e 100755 --- a/README.md +++ b/README.md @@ -276,6 +276,7 @@ usr sys idl wai hiq siq| read writ| recv send| in out | int csw * nginx v1.5.0: 139524 lines
### History +* v0.9, 2013-12-25, fix the bitrate bug(in Bps), use enhanced microphone. * v0.9, 2013-12-22, demo video meeting or chat(srs+cherrypy+jquery+bootstrap). * v0.9, 2013-12-22, merge from wenjie, support banwidth test. * v0.9, 2013-12-22, merge from wenjie: support set chunk size at vhost level diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index cbffc8852..f017d418a 100755 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -8,6 +8,7 @@ + + + + + +
+
+ +
+ diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index b9938c0f6..771960b1d 100755 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -18,7 +18,7 @@ update_nav(); // direct to the default vhost for players. - window.location.href = "srs_player.html?vhost=" + srs_get_player_vhost(); + window.location.href = "srs_chat.html?vhost=" + srs_get_player_vhost(); }); From 702ad69817fef17b9a9cefd1fa0d57cae60804a2 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 26 Dec 2013 09:13:27 +0800 Subject: [PATCH 23/30] support query in index.html --- trunk/research/api-server/static-dir/index.html | 2 +- trunk/research/players/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/research/api-server/static-dir/index.html b/trunk/research/api-server/static-dir/index.html index 0b1ff9823..7607685aa 100755 --- a/trunk/research/api-server/static-dir/index.html +++ b/trunk/research/api-server/static-dir/index.html @@ -18,7 +18,7 @@ update_nav(); // direct to the default vhost for players. - window.location.href = "players/index.html"; + window.location.href = "players/index.html" + window.location.search; }); diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index 771960b1d..f313891e7 100755 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -18,7 +18,7 @@ update_nav(); // direct to the default vhost for players. - window.location.href = "srs_chat.html?vhost=" + srs_get_player_vhost(); + window.location.href = "srs_chat.html?" + "&vhost=" + srs_get_player_vhost() + window.location.search ; }); From c23b133fdcc4bb0f21d9bb87310a1058c8a4537e Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 26 Dec 2013 09:18:03 +0800 Subject: [PATCH 24/30] support query in index.html --- trunk/research/players/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index f313891e7..c13f06e73 100755 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -18,7 +18,9 @@ update_nav(); // direct to the default vhost for players. - window.location.href = "srs_chat.html?" + "&vhost=" + srs_get_player_vhost() + window.location.search ; + var query = "" + window.location.search; + query = query.substr(1); + window.location.href = "srs_chat.html?" + "vhost=" + srs_get_player_vhost() + "&" + query; }); From b6280f3804c4d915648b4d023f119f7a42a02542 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 26 Dec 2013 09:50:10 +0800 Subject: [PATCH 25/30] jump nginx index to api-server, for ie crossdomain. --- trunk/auto/depends.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 56f01dc1e..4926a0699 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -261,11 +261,8 @@ if [ $SRS_HLS = YES ]; then ln -sf `pwd`/research/players/crossdomain.xml ${SRS_OBJS}/nginx/html/crossdomain.xml # override the default index. - cat < ${SRS_OBJS}/nginx/html/index.html - -END + rm -f ${SRS_OBJS}/nginx/html/index.html && + ln -sf `pwd`/research/players/nginx_index.html ${SRS_OBJS}/nginx/html/index.html fi if [ $SRS_HLS = YES ]; then @@ -302,7 +299,9 @@ fi echo "link players to cherrypy static-dir" rm -f research/api-server/static-dir/players && -ln -sf `pwd`/research/players research/api-server/static-dir/players +ln -sf `pwd`/research/players research/api-server/static-dir/players && +rm -f research/api-server/static-dir/crossdomain.xml && +ln -sf `pwd`/research/players/crossdomain.xml research/api-server/static-dir/crossdomain.xml ##################################################################################### # openssl, for rtmp complex handshake From c51842aa9aabcc00931f60178657e97b97ee44c0 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 26 Dec 2013 10:05:24 +0800 Subject: [PATCH 26/30] jump nginx index to api-server, for ie crossdomain. --- trunk/research/players/nginx_index.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 trunk/research/players/nginx_index.html diff --git a/trunk/research/players/nginx_index.html b/trunk/research/players/nginx_index.html new file mode 100755 index 000000000..ebef63b34 --- /dev/null +++ b/trunk/research/players/nginx_index.html @@ -0,0 +1,21 @@ + + + + SRS + + + + + + + + From 5cec96793183c3dcc2643e5996bae45528911c3c Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 26 Dec 2013 13:31:52 +0800 Subject: [PATCH 27/30] refine the index. refine the parse_query_string, add user_query object to result --- trunk/research/players/index.html | 20 +++++++++++++++----- trunk/research/players/js/srs.page.js | 1 + trunk/research/players/js/srs.utility.js | 5 +++++ trunk/research/players/jwplayer6.html | 2 +- trunk/research/players/osmf.html | 2 +- trunk/research/players/srs_bwt.html | 2 +- trunk/research/players/srs_chat.html | 2 +- trunk/research/players/srs_player.html | 2 +- trunk/research/players/srs_publisher.html | 2 +- trunk/research/players/vlc.html | 2 +- 10 files changed, 28 insertions(+), 12 deletions(-) diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index c13f06e73..ee2b2687c 100755 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -8,6 +8,7 @@ +