From f8a7db51f2266ab957204ce53886fb8481f03736 Mon Sep 17 00:00:00 2001 From: wenjiegit Date: Thu, 2 Jan 2014 14:16:26 +0800 Subject: [PATCH] fixbug[play packet decode bug: srs only read bool type play reset value, actually this value can be bool or number] --- trunk/research/ffempty/Makefile | 0 trunk/research/ffempty/ffempty.cc | 0 trunk/research/hls/Makefile | 0 trunk/research/hls/ts_info.cc | 0 trunk/research/players/crossdomain.xml | 0 trunk/research/players/img/tooltip.png | Bin .../players/js/AdobeFlashPlayerInstall.swf | Bin .../players/js/StrobeMediaPlayback.swf | Bin trunk/research/players/js/bootstrap.min.js | 0 .../research/players/js/jquery-1.10.2.min.js | 0 .../research/players/js/jquery-1.10.2.min.map | 0 trunk/research/players/js/jwplayer.flash.swf | Bin trunk/research/players/js/jwplayer.html5.js | 0 trunk/research/players/js/jwplayer.js | 0 trunk/research/players/js/srs.bandwidth.js | 29 ---- trunk/research/players/js/swfobject.js | 0 trunk/research/players/osmf.html | 2 +- trunk/research/players/srs_bwt.html | 138 ------------------ .../players/srs_bwt/.actionScriptProperties | 14 -- .../players/srs_bwt/release/srs_bwt.swf | Bin 2603 -> 4674 bytes trunk/research/players/srs_bwt/src/srs_bwt.as | 81 ---------- trunk/src/core/srs_core_rtmp.cpp | 12 +- trunk/src/core/srs_core_rtmp.hpp | 4 - trunk/src/main/srs_main_server.cpp | 0 trunk/src/srs/init | 0 25 files changed, 2 insertions(+), 278 deletions(-) mode change 100644 => 100755 trunk/research/ffempty/Makefile mode change 100644 => 100755 trunk/research/ffempty/ffempty.cc mode change 100644 => 100755 trunk/research/hls/Makefile mode change 100644 => 100755 trunk/research/hls/ts_info.cc mode change 100644 => 100755 trunk/research/players/crossdomain.xml mode change 100644 => 100755 trunk/research/players/img/tooltip.png mode change 100644 => 100755 trunk/research/players/js/AdobeFlashPlayerInstall.swf mode change 100644 => 100755 trunk/research/players/js/StrobeMediaPlayback.swf mode change 100644 => 100755 trunk/research/players/js/bootstrap.min.js mode change 100644 => 100755 trunk/research/players/js/jquery-1.10.2.min.js mode change 100644 => 100755 trunk/research/players/js/jquery-1.10.2.min.map mode change 100644 => 100755 trunk/research/players/js/jwplayer.flash.swf mode change 100644 => 100755 trunk/research/players/js/jwplayer.html5.js mode change 100644 => 100755 trunk/research/players/js/jwplayer.js mode change 100644 => 100755 trunk/research/players/js/swfobject.js mode change 100644 => 100755 trunk/src/main/srs_main_server.cpp mode change 100644 => 100755 trunk/src/srs/init diff --git a/trunk/research/ffempty/Makefile b/trunk/research/ffempty/Makefile old mode 100644 new mode 100755 diff --git a/trunk/research/ffempty/ffempty.cc b/trunk/research/ffempty/ffempty.cc old mode 100644 new mode 100755 diff --git a/trunk/research/hls/Makefile b/trunk/research/hls/Makefile old mode 100644 new mode 100755 diff --git a/trunk/research/hls/ts_info.cc b/trunk/research/hls/ts_info.cc old mode 100644 new mode 100755 diff --git a/trunk/research/players/crossdomain.xml b/trunk/research/players/crossdomain.xml old mode 100644 new mode 100755 diff --git a/trunk/research/players/img/tooltip.png b/trunk/research/players/img/tooltip.png old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/AdobeFlashPlayerInstall.swf b/trunk/research/players/js/AdobeFlashPlayerInstall.swf old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/StrobeMediaPlayback.swf b/trunk/research/players/js/StrobeMediaPlayback.swf old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/bootstrap.min.js b/trunk/research/players/js/bootstrap.min.js old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/jquery-1.10.2.min.js b/trunk/research/players/js/jquery-1.10.2.min.js old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/jquery-1.10.2.min.map b/trunk/research/players/js/jquery-1.10.2.min.map old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/jwplayer.flash.swf b/trunk/research/players/js/jwplayer.flash.swf old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/jwplayer.html5.js b/trunk/research/players/js/jwplayer.html5.js old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/jwplayer.js b/trunk/research/players/js/jwplayer.js old mode 100644 new mode 100755 diff --git a/trunk/research/players/js/srs.bandwidth.js b/trunk/research/players/js/srs.bandwidth.js index 4f7ccafd7..1b63b2ac8 100755 --- a/trunk/research/players/js/srs.bandwidth.js +++ b/trunk/research/players/js/srs.bandwidth.js @@ -1,31 +1,3 @@ -<<<<<<< HEAD -// for bw to init url -// url: scheme://host:port/path?query#fragment -function srs_init_bwt(rtmp_url, hls_url) { - update_nav(); - - if (rtmp_url) { - //var query = parse_query_string(); - var search_filed = String(window.location.search).replace(" ", "").split("?")[1]; - $(rtmp_url).val("rtmp://" + window.location.host + ":" + 1935 + "/app?" + search_filed); - } - if (hls_url) { - $(hls_url).val(build_default_hls_url()); - } -} - -function srs_bwt_check_url(url) { - if (url.indexOf("key") != -1 && url.indexOf("vhost") != -1) { - return true; - } - - return false; -} - -function srs_bwt_build_default_url() { - var url_default = "rtmp://" + window.location.host + ":" + 1935 + "/app?key=35c9b402c12a7246868752e2878f7e0e&vhost=bandcheck.srs.com"; - return url_default; -======= /** * the SrsBandwidth object. * @param container the html container id. @@ -161,5 +133,4 @@ function __srs_on_update_status(id, status) { var bandwidth = __srs_find_bandwidth(id); bandwidth.status = status; bandwidth.on_update_status(status); ->>>>>>> upstream/master } \ No newline at end of file diff --git a/trunk/research/players/js/swfobject.js b/trunk/research/players/js/swfobject.js old mode 100644 new mode 100755 diff --git a/trunk/research/players/osmf.html b/trunk/research/players/osmf.html index 60ba8f619..379e5ef0c 100755 --- a/trunk/research/players/osmf.html +++ b/trunk/research/players/osmf.html @@ -57,7 +57,7 @@ // get the vhost and port to set the default url. // for example: http://192.168.1.213/players/jwplayer6.html?port=1935&vhost=demo // url set to: rtmp://demo:1935/live/livestream - //srs_init("#txt_url", null, "#main_modal"); + srs_init("#txt_url", null, "#main_modal"); $("#main_modal").on("hide", function(){ osmf_play("http://localhost"); diff --git a/trunk/research/players/srs_bwt.html b/trunk/research/players/srs_bwt.html index 681a1db45..dc2593adb 100755 --- a/trunk/research/players/srs_bwt.html +++ b/trunk/research/players/srs_bwt.html @@ -12,119 +12,12 @@ -<<<<<<< HEAD - - -======= ->>>>>>> upstream/master - @@ -196,31 +88,6 @@
-<<<<<<< HEAD - -
- URL: - - -
- - ->>>>>>> upstream/master
-<<<<<<< HEAD - -======= ->>>>>>> upstream/master