diff --git a/trunk/research/players/srs_bwt/release/srs_bwt.swf b/trunk/research/players/srs_bwt/release/srs_bwt.swf index 6a88f3a48..c7fa90ebf 100755 Binary files a/trunk/research/players/srs_bwt/release/srs_bwt.swf and b/trunk/research/players/srs_bwt/release/srs_bwt.swf differ diff --git a/trunk/research/players/srs_bwt/src/srs_bwt.as b/trunk/research/players/srs_bwt/src/srs_bwt.as index 8a0036df4..af6af5546 100755 --- a/trunk/research/players/srs_bwt/src/srs_bwt.as +++ b/trunk/research/players/srs_bwt/src/srs_bwt.as @@ -138,6 +138,7 @@ package private var srs_primary_authors:String = null; private var srs_id:String = null; private var srs_pid:String = null; + private var srs_server_ip:String = null; private function update_context_items():void { // for context menu var customItems:Array = [new ContextMenuItem("SrsPlayer")]; @@ -147,6 +148,9 @@ package if (srs_primary_authors != null) { customItems.push(new ContextMenuItem("PrimaryAuthors: " + srs_primary_authors)); } + if (srs_server_ip != null) { + customItems.push(new ContextMenuItem("SrsIp: " + srs_server_ip)); + } if (srs_pid != null) { customItems.push(new ContextMenuItem("SrsPid: " + srs_pid)); } @@ -173,6 +177,9 @@ package if (evt.info.data.hasOwnProperty("srs_pid")) { srs_pid = evt.info.data.srs_pid; } + if (evt.info.data.hasOwnProperty("srs_server_ip")) { + srs_server_ip = evt.info.data.srs_server_ip; + } update_context_items(); } diff --git a/trunk/research/players/srs_player/release/srs_player.swf b/trunk/research/players/srs_player/release/srs_player.swf index a09750e17..1e13bd718 100755 Binary files a/trunk/research/players/srs_player/release/srs_player.swf and b/trunk/research/players/srs_player/release/srs_player.swf differ diff --git a/trunk/research/players/srs_player/src/srs_player.as b/trunk/research/players/srs_player/src/srs_player.as index 55ac327a0..a8fa5ec2c 100755 --- a/trunk/research/players/srs_player/src/srs_player.as +++ b/trunk/research/players/srs_player/src/srs_player.as @@ -270,6 +270,7 @@ package private var srs_primary_authors:String = null; private var srs_id:String = null; private var srs_pid:String = null; + private var srs_server_ip:String = null; private function update_context_items():void { // for context menu var customItems:Array = [new ContextMenuItem("SrsPlayer")]; @@ -279,6 +280,9 @@ package if (srs_primary_authors != null) { customItems.push(new ContextMenuItem("PrimaryAuthors: " + srs_primary_authors)); } + if (srs_server_ip != null) { + customItems.push(new ContextMenuItem("SrsIp: " + srs_server_ip)); + } if (srs_pid != null) { customItems.push(new ContextMenuItem("SrsPid: " + srs_pid)); } @@ -323,6 +327,9 @@ package if (evt.info.data.hasOwnProperty("srs_pid")) { srs_pid = evt.info.data.srs_pid; } + if (evt.info.data.hasOwnProperty("srs_server_ip")) { + srs_server_ip = evt.info.data.srs_server_ip; + } update_context_items(); } diff --git a/trunk/research/players/srs_publisher/release/srs_publisher.swf b/trunk/research/players/srs_publisher/release/srs_publisher.swf index 30f44ce92..1da99869f 100755 Binary files a/trunk/research/players/srs_publisher/release/srs_publisher.swf and b/trunk/research/players/srs_publisher/release/srs_publisher.swf differ diff --git a/trunk/research/players/srs_publisher/src/srs_publisher.as b/trunk/research/players/srs_publisher/src/srs_publisher.as index d06f7cad4..03c7d3918 100755 --- a/trunk/research/players/srs_publisher/src/srs_publisher.as +++ b/trunk/research/players/srs_publisher/src/srs_publisher.as @@ -139,6 +139,7 @@ package private var srs_primary_authors:String = null; private var srs_id:String = null; private var srs_pid:String = null; + private var srs_server_ip:String = null; private function update_context_items():void { // for context menu var customItems:Array = [new ContextMenuItem("SrsPlayer")]; @@ -148,6 +149,9 @@ package if (srs_primary_authors != null) { customItems.push(new ContextMenuItem("PrimaryAuthors: " + srs_primary_authors)); } + if (srs_server_ip != null) { + customItems.push(new ContextMenuItem("SrsIp: " + srs_server_ip)); + } if (srs_pid != null) { customItems.push(new ContextMenuItem("SrsPid: " + srs_pid)); } @@ -222,6 +226,9 @@ package if (evt.info.data.hasOwnProperty("srs_pid")) { srs_pid = evt.info.data.srs_pid; } + if (evt.info.data.hasOwnProperty("srs_server_ip")) { + srs_server_ip = evt.info.data.srs_server_ip; + } update_context_items(); }