winlin

fix bug of identify the truevision camera

@@ -162,7 +162,7 @@ function srs_initialize_codec_page( @@ -162,7 +162,7 @@ function srs_initialize_codec_page(
162 } 162 }
163 } 163 }
164 // optional: select the first matched. 164 // optional: select the first matched.
165 - matchs = ["turevision", "integrated"]; 165 + matchs = ["truevision", "integrated"];
166 for (var i = 0; i < cameras.length; i++) { 166 for (var i = 0; i < cameras.length; i++) {
167 for (var j = 0; j < matchs.length; j++) { 167 for (var j = 0; j < matchs.length; j++) {
168 if (cameras[i].toLowerCase().indexOf(matchs[j]) >= 0) { 168 if (cameras[i].toLowerCase().indexOf(matchs[j]) >= 0) {
@@ -294,6 +294,7 @@ @@ -294,6 +294,7 @@
294 $(obj).find("#chat_player").attr("id", "rp_" + chat.id); // for specifed player: $("#rp_" + chat_id) 294 $(obj).find("#chat_player").attr("id", "rp_" + chat.id); // for specifed player: $("#rp_" + chat_id)
295 $(obj).find("#chat_player_raw").attr("id", "rp_raw_" + chat.id); // for specifed player: $("#rp_raw_" + chat_id) 295 $(obj).find("#chat_player_raw").attr("id", "rp_raw_" + chat.id); // for specifed player: $("#rp_raw_" + chat_id)
296 $(obj).find("#user_name").text(chat.username); 296 $(obj).find("#user_name").text(chat.username);
  297 + $(obj).find("#user_player_url").attr("href", chat.url);
297 $(obj).find("#join_date").text(chat.join_date_str); 298 $(obj).find("#join_date").text(chat.join_date_str);
298 $(obj).find("#collapseM").attr("id", "collapse_" + global_chat_user_id); 299 $(obj).find("#collapseM").attr("id", "collapse_" + global_chat_user_id);
299 $(obj).find("#headerN").attr("href", "#collapse_" + global_chat_user_id); 300 $(obj).find("#headerN").attr("href", "#collapse_" + global_chat_user_id);
@@ -588,7 +589,9 @@ @@ -588,7 +589,9 @@
588 <span id="headerN" class="accordion-toggle" data-toggle="collapse" href="#collapseN"> 589 <span id="headerN" class="accordion-toggle" data-toggle="collapse" href="#collapseN">
589 <strong>[<a href="#"><span id="user_name">XX</span></a>]</strong> 590 <strong>[<a href="#"><span id="user_name">XX</span></a>]</strong>
590 <strong>加入时间</strong>[<span id="join_date"></span>] 591 <strong>加入时间</strong>[<span id="join_date"></span>]
591 - <img src="img/tooltip.png"/> 592 + <a id="user_player_url" href="#" data-toggle="tooltip" data-placement="top" title="">
  593 + 播放地址<img src="img/tooltip.png"/>
  594 + </a>
592 </span> 595 </span>
593 </div> 596 </div>
594 <div id="collapseM" class="accordion-body collapse in"> 597 <div id="collapseM" class="accordion-body collapse in">