From e9ec22e66e6e1c7435f3a1435e641aef865c1471 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 21 Dec 2013 19:30:39 +0800 Subject: [PATCH] use timestamp to stream --- trunk/research/players/srs_publisher.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/research/players/srs_publisher.html b/trunk/research/players/srs_publisher.html index fb836178e..ae7824140 100755 --- a/trunk/research/players/srs_publisher.html +++ b/trunk/research/players/srs_publisher.html @@ -32,6 +32,8 @@ $("#btn_publish").click(on_user_publish); + // for publish, we use randome stream name. + $("#txt_url").val($("#txt_url").val() + "." + new Date().getTime()); update_play_url(); // start the publisher.