Problem with s:VideoDisplay component
Hello everybody.
I’m working in a videoconference system with Flex 4.
My problem is in the s:VideoDisplay component
I declare it as follows:
<s:VideoDisplay id="localVideoDisplay" width="320" height="240"/>
And then I attach my webcam:
var camera:Camera = Camera.getCamera(“mycamera”);
localVideoDisplay.attachCamera(camera);
All works properly but when I try to disconnect de cam by using:
localVideoDisplay.attachCamera(null);
It doesn’t work. However, this method works perfectly with the mx:VideoDisplay component.
Does anybody knows how can I do this in a s:VideoDisplay?
Thanks for your answers.
Regards.
