This is a reproducible example for the ScreenSharePublisher.stop()
bug.Win XP, FF9, latest SDK, latest Flash playerYou login by calling the
swf from javascript with login(roomURL, authToken) or replace it with
manual authentication.Trace messages are shown in FireBug. Replace it
with something else if needed.Click on the button to start screen
sharing.Click on the button again and see that the user gets logged
out.Thanks import
flash.external.ExternalInterface; import com.adobe.rtc.util.DebugUtil;
[Bindable] private var roomURL:String; [Bindable] private var
authToken:String; private function init(e:Event = null):void {
removeEventListener(Event.ADDED_TO_STAGE, init); DebugUtil.traceFunction
= traceMessage; ExternalInterface.addCallback("login", login); } private
function traceMessage(message:String):void {
ExternalInterface.call("console.log", message); } private function
login(roomURL:String, authToken:String):void { this.authToken =
authToken; this.roomURL = roomURL; cSession.login(); } private function
onSSClick(event:MouseEvent):void { if(event.target.selected) {
event.target.label = "Stop Screen Share" ; if(ssPublisher != null &&
!ssPublisher.isPublishing) { ssPublisher.publish(); } } else {
event.target.label = "Start Screen Share" ; if(ssPublisher != null &&
ssPublisher.isPublishing) { ssPublisher.stop(); } } }