Skip to main content
September 21, 2011
Question

Problem with s:VideoDisplay component

  • September 21, 2011
  • 1 reply
  • 499 views

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.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    September 23, 2011

    I would suggest you to post on Flex/Flash Builder or AS3 forums since your query is more related to client-side functioning and nothing related to FMS per se

    September 23, 2011

    You are right.

    The application is based in RTMFP and I did not realize that this is not related to this forum.

    I apologize.

    Thanks anyway.