Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

WebcamSubscriber positioning and sizing

Avatar

Former Community Member

I am using 2 WebcamSubcribers in a ConnectSessionContainer.  The first WebcamSubscriber seems to be positioned and sized correctly, then when I add another the size and position changes, and I'm not sure why.  The first image below is with one WebcamSubscriber, and the second image is after the second WebcamSubscriber gets started. Also, top-left both WebcamSubscribers should be positioned at 20,100, and that's not happening either.

The code I am using is below both images.

Thanks!

-Matt

image1.jpg

image2.jpg

    <rtc:ConnectSessionContainer id="cSession"
        width="100%"
        height="100%"
        roomURL="">
        <rtc:authenticator>
            <rtc:AdobeHSAuthenticator userName=""
                password=""/>
        </rtc:authenticator>

        <rtc:WebcamPublisher id="pub"/>

        <rtc:WebcamSubscriber width="300"
            height="300"
            x="20"
            y="100"
            displayUserBars="false"/>

        <rtc:WebcamSubscriber width="100"
            height="100"
            x="20"
            y="100"
            displayUserBars="false"
            webcamPublisher="{pub}"
            publisherIDs="{[cSession.userManager.myUserID]}"/>


        <s:Button id="startCamAndVoice"
            label="Start Camera and Voice"
            click="startCamAndVoice_clickHandler(event)"/>

        <s:Button id="startScrShare"
            label="Start Screen Sharing"
            x="350"/>

    </rtc:ConnectSessionContainer>

0 Replies