diff --git a/trunk/research/players/srs_publisher.html b/trunk/research/players/srs_publisher.html index 187ca595f..52757987b 100644 --- a/trunk/research/players/srs_publisher.html +++ b/trunk/research/players/srs_publisher.html @@ -46,6 +46,9 @@ 发布地址: +
@@ -446,6 +449,10 @@ info("开始推流到服务器"); srs_publisher.publish(url, vcodec, acodec); + if (!$("#cb_preview").is(":checked")) { + return; + } + if (realtime_player) { // directly play the url for the realtime player. realtime_player.stop();