I am trying to capture video.
But the area in which the video is displayed while recording is very small.
Too small.
I would like to use the full width available/or fullscreen.
I have tried the setDisplaySize() and setDisplayFullScreen() of no avail.
I use Canvas to display the video with the display mode as USE_DIRECT_VIDEO.
This happens on Nokia 5130, 2700, and 6303.
But I am able to get a full width on Nokia N73, N70, 7610 Supernova with the same code.
Is this a handset specific issue?
Is there a workaround?
It would be great if someone could give me an insight.Code:player = Manager.createPlayer("capture://video"); player.addPlayerListener(this); player.realize(); videoControl = (VideoControl)player.getControl("VideoControl"); if (videoControl != null){ videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, canvas); videoControl.setDisplayLocation(0,0); videoControl.setDisplaySize(canvas.getWidth(),canvas.getHeight()); //videoControl.setDisplayFullScreen(true); videoControl.setVisible(true); } player.start();
Thanks,
Sylvan

Reply With Quote

