diff --git a/bigbluebutton-client/src/WebcamPreviewStandalone.mxml b/bigbluebutton-client/src/WebcamPreviewStandalone.mxml index c36e25cc7a..a629bdcb3a 100755 --- a/bigbluebutton-client/src/WebcamPreviewStandalone.mxml +++ b/bigbluebutton-client/src/WebcamPreviewStandalone.mxml @@ -58,7 +58,7 @@ with BigBlueButton; if not, see . trace("WebcamPreviewSA:: Security.allowDomain(" + determineHTMLURL() + ");"); initExternalInterface(); -// displayCamera("0", 30, 10, 0, 90); + callWebcamPreviewStandaloneReady(); } private function determineHTMLURL():String { @@ -84,6 +84,12 @@ with BigBlueButton; if not, see . } } + private function callWebcamPreviewStandaloneReady():void { + if (ExternalInterface.available) { + ExternalInterface.call("webcamPreviewStandaloneAppReady"); + } + } + private function handleStartPreviewCameraRequest(camIndex:String, camWidth:int, camHeight:int, camKeyFrameInterval:int, camModeFps:Number, camQualityBandwidth:int, camQualityPicture:int):void { diff --git a/bigbluebutton-client/src/WebcamViewStandalone.mxml b/bigbluebutton-client/src/WebcamViewStandalone.mxml index 5101f97492..348d55703d 100755 --- a/bigbluebutton-client/src/WebcamViewStandalone.mxml +++ b/bigbluebutton-client/src/WebcamViewStandalone.mxml @@ -67,6 +67,7 @@ with BigBlueButton; if not, see . trace("WebcamViewSA:: Security.allowDomain(" + determineHTMLURL() + ");"); initExternalInterface(); + callWebcamViewStandaloneReady(); } private function determineHTMLURL():String { @@ -92,6 +93,12 @@ with BigBlueButton; if not, see . } } + private function callWebcamViewStandaloneReady():void { + if (ExternalInterface.available) { + ExternalInterface.call("webcamViewStandaloneAppReady"); + } + } + private function connect(url:String):void { nc = new NetConnection(); nc.client = this;