src/net/java/sip/communicator/plugin/desktoputil/presence/avatar/imagepicker/WebcamDialog.java
/**
     * Init the access to the webcam (asynchonous call)
     */
Init the access to the webcam (asynchonous call)
Init the access to the webcam ( asynchonous call )
private void initAccessWebcam()
    {
        MediaService mediaService = DesktopUtilActivator.getMediaService();
        this.videoContainer
            = (Component)
                mediaService.getVideoPreviewComponent(
                        mediaService.getDefaultDevice(
                                MediaType.VIDEO,
                                MediaUseCase.CALL),
                        320,
                        240);
        this.grabSnapshot.setEnabled(true);
    }
private void initAccessWebcam ( ) { MediaService mediaService = DesktopUtilActivator . getMediaService ( ) ; this . videoContainer = ( Component ) mediaService . getVideoPreviewComponent ( mediaService . getDefaultDevice ( MediaType . VIDEO , MediaUseCase . CALL ) , 320 , 240 ) ; this . grabSnapshot . setEnabled ( true ) ; }
Init the access to the webcam (asynchonous call)
Init the access to the webcam ( asynchonous call )
//Call the method in the media service