winlin

update the srs player, set the DAR.

@@ -42,6 +42,7 @@ @@ -42,6 +42,7 @@
42 } 42 }
43 srs_player.on_player_metadata = function(metadata) { 43 srs_player.on_player_metadata = function(metadata) {
44 $("#btn_dar_original").text("视频原始比例" + "(" + metadata.width + ":" + metadata.height + ")"); 44 $("#btn_dar_original").text("视频原始比例" + "(" + metadata.width + ":" + metadata.height + ")");
  45 + srs_player.dar(0, 0);
45 return 0; 46 return 0;
46 } 47 }
47 srs_player.start(); 48 srs_player.start();