winlin

update jwplayer to support play HTTP flv.

@@ -123,6 +123,9 @@ function build_default_hls_url() { @@ -123,6 +123,9 @@ function build_default_hls_url() {
123 port = 8080; 123 port = 8080;
124 } 124 }
125 125
  126 + if (stream.indexOf(".flv") >= 0) {
  127 + return "http://" + server + ":" + port + "/" + app + "/" + stream;
  128 + }
126 return "http://" + server + ":" + port + "/" + app + "/" + stream + ".m3u8"; 129 return "http://" + server + ":" + port + "/" + app + "/" + stream + ".m3u8";
127 } 130 }
128 131