Question

I'm working on a video chat in Flex with Red5. I'm using the following code:

    stage.fullScreenSourceRect = new Rectangle(vidDisp.x,vidDisp.y, vidDisp.width, vidDisp.height);
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.displayState = StageDisplayState.FULL_SCREEN

This code gives me a weird half cut fullscreen. Does anyone know any other way?

Thanks.

Was it helpful?

Solution

@Siddharth here's the videoContainer from that implementation:

<!--Video Player-->
<mx:Box id="videoContainer" width="100%" height="{Math.floor(this.width * 0.6)}">
    <mx:VideoDisplay id="player" width="100%" height="100%" autoPlay="false" autoRewind="false" bufferTime="4" playheadUpdateInterval="1000"  />
</mx:Box>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top