Expand my Community achievements bar.

WebCamera: Ghost background next to CameraUserBar on resizing

Avatar

Level 2

Hi,

When resizing the WebCamera pod to a smaller size (I have two mode, full mode and compact mode), I'm stuck with a ghost background at the right of the CameraUserBar. Is there any way we can avoid/fix this? See snapshot attached.

GhostBackgroundRight.png

Thanks

Matetnic

7 Replies

Avatar

Employee

Hi Matetnic,

I tried a sample WebCam app at my end and couldnt reproduce the issue. If possible, Can you provide us your code and the SDK version you are using to look into the issue.

Thanks

Arun

Avatar

Level 2

Here is my code for the WebCamera pod :

    <rtc:ConnectSessionContainer
        id="sess"
        backgroundColor="0xFFFFFF"
        autoLogin="false"
        borderStyle="solid"
        initialize="sess_initializeHandler(event)">

        ...

        <mx:Canvas id="cvsWebCamera" width="710" height="290">
            <rtc:WebCamera
                id="webCamera"
                left="10"
                right="10"
                top="10"
                bottom="10"
                aspectRatio="{StreamManager.AR_PORTRAIT}"
                streamReceive="webCamera_streamReceiveHandler(event)"
                streamPause="webCamera_streamPauseHandler(event)"
                streamDelete="webCamera_streamDeleteHandler(event)" />
        </mx:Canvas>

        ...

    </rtc:ConnectSessionContainer>

And I have the following code to resize to compact mode (on a click of a button):

    cvsWebCamera.width = 528;
    cvsWebCamera.height = 220;

Anything wrong?

Thanks!

Matetnic

Avatar

Employee

Hi Matetnic,

Thanks again for identifying this issue for us. I have a patch ready and could post it to this thread. Can I know the SDK's player version you are using.

Thanks

Arun

Avatar

Employee

Thanks for reporting this issue to us Matetnic. I will update this thread after I have a fix.

Sincerely

Arun

Avatar

Level 2

Hi,

Thanks for such quick response. I'm using the Flash Player 10 version of the SDK 1.3.7.1.

Thanks!

Matetnic

Avatar

Employee

Hi Matetnic,

Thanks again for  your patience and reporting this issue to us. I have fixed this issue, and this fix would be a part of next release. But until then you can use the patched swc I have attached.

Please do let is if the patched swc fixes the issue for you.

Thanks

Arun

Avatar

Level 2

Hi,

Again, thanks for the awesome quick response.

The fix works great!

Thank you very much!

Matetnic