get capture device protocol . this will be : dshow : / / for windows qtcapture : / / for mac v4l2 : / / for linux concode_field_sep AtomicBoolean disposed concode_elem_sep Logger LOG concode_elem_sep MediaListItem sub concode_elem_sep AtomicReference<Double> fps concode_elem_sep Dimension resolution concode_elem_sep ColorSpace colorSpace concode_elem_sep AtomicBoolean opening concode_elem_sep Map<String,Converter> CONVERTERS concode_elem_sep Dimension[] RESOLUTIONS concode_elem_sep int scanlineStride concode_elem_sep ComponentColorModel colorModel concode_elem_sep int pixelStride concode_elem_sep long t2 concode_elem_sep DirectMediaPlayer player concode_elem_sep String[] VLC_ARGS concode_elem_sep MediaPlayerFactory factory concode_elem_sep MediaListItem item concode_elem_sep AtomicReference<BufferedImage> imageRef concode_elem_sep AtomicBoolean open concode_elem_sep int[] bgrBandOffsets concode_elem_sep int[] offsets concode_elem_sep int transparency concode_elem_sep ComponentSampleModel sampleModel concode_elem_sep long t1 concode_elem_sep int dataType concode_elem_sep int[] bits concode_field_sep Dimension getResolution concode_elem_sep MediaPlayer getPlayer concode_elem_sep String getName concode_elem_sep void display concode_elem_sep void setResolution concode_elem_sep String getVDevice concode_elem_sep BufferedImage convert concode_elem_sep BufferFormat getBufferFormat concode_elem_sep MediaListItem getMediaListItem concode_elem_sep Dimension[] getResolutions concode_elem_sep boolean isOpen concode_elem_sep String getMRL concode_elem_sep String toString concode_elem_sep void dispose concode_elem_sep MediaListItem getMediaListItemSub concode_elem_sep double getFPS concode_elem_sep BufferedImage getImage concode_elem_sep void close concode_elem_sep Converter getConverter concode_elem_sep String key concode_elem_sep void open
String function ( ) { switch ( OsUtils . getOS ( ) ) { case WIN : return "srini_string" ; case OSX : return "srini_string" ; case NIX : return "srini_string" ; default : throw new WebcamException ( "srini_string" + OsUtils . getOS ( ) ) ; } }