After upgrading to 0.93 from 0.92 and changing the percentage width and height to static numbers, I can't seem to get WebcamSubscriber to actually show a feed. WebcamPublisher seems to be doing something, as my camera is being accessed, but neither the local loopback via WebcamSubscriber::webcamPublisher nor other subscribers are able to see video.
Views
Replies
Total Likes
Hi Keith,
You are right. I think there is a bug with WebCamSubscriber. Hopefully its fixed. But this worked for me...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundColor="black"
xmlns:rtc="AfcsNameSpace">
<mx:Script>
<![CDATA[
import com.adobe.rtc.events.UserEvent;
import com.adobe.rtc.events.StreamEvent;
import com.adobe.rtc.sharedManagers.UserManager;
import com.adobe.rtc.sharedManagers.StreamManager;
import mx.collections.ArrayCollection;
import com.adobe.rtc.collaboration.WebcamSubscriber;
import mx.controls.Alert;
private function onSyncChange():void{
if (cSession.isSynchronized){
webCamPub.publish();
webCamSub.webcamPublisher = webCamPub;
webCamSub.percentWidth = 100;
webCamSub.percentHeight = 100;
}
}
]]>
</mx:Script>
<rtc:AdobeHSAuthenticator id="auth" userName="uname@domain.com" password="pwd"/>
<rtc:ConnectSessionContainer
roomURL="https://http://connectnow.acrobat.com/uname/room-name"
id="cSession"
authenticator="{auth}" width="100%" height="100%" synchronizationChange="onSyncChange()">
<rtc:WebcamPublisher id="webCamPub" width="10%" height="10%" />
<rtc:WebcamSubscriber id="webCamSub" />
</rtc:ConnectSessionContainer>
</mx:Application>
Thanks
Arun
Views
Replies
Total Likes
Hi guys,
I got the exact same behavior as Keith when I changed from 0.92 to 0.93.
Arun, I don't see what is special in your code that makes the trick and makes it work. Can you point it out?
Thanks,
Axel
Views
Replies
Total Likes
Hi Axel,
This issue was actually fixed yesterday. You can add this line in your WebcamSubscriber Source.
[PercentProxy("percentWidth")] just before the get width() function
And [PercentProxy("percentHeight")] just before the get height() function.
This should fix the problem for WebcamSubscriber not taking percentages in mxml.
Thanks
Regards
Hironmay Basu
Views
Replies
Total Likes
Thanks Hironmay, any idea when this will be released? I'm using the FP10 SWC, so I don't think I can just change the source code.
Views
Replies
Total Likes
We will be releasing this very soon.
Thanks
Hironmay Basu
Views
Replies
Total Likes
Usually we don't announce release plans, to avoid setting expectations and potentially disappointing, but in this case, we're planning to ship a new build next Thursday (the 13th). We need enough time to validate some fixes, etc. If anyone is super-blocked by this issue, and is willing to take on the risk of a little pre-beta build, contact us and we can provide a new (not completely tested!) SWC.
nigel
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies