Class VideoCamera

    • Field Detail

      • formatName

        public StringAttribute formatName
        The type of video format to use. This is a string valued attribute that defaults to the type RGB.
      • deviceNumber

        public Parameter deviceNumber
        This parameter lets the user select the device to use. Typically this parameter is of no concern and should be left at 0. However, if a computer has more than one usable cameras, this parameter can be used to choose amongst them.
    • Method Detail

      • controllerUpdate

        public void controllerUpdate​(javax.media.ControllerEvent evt)
        Controller Listener.
        Specified by:
        controllerUpdate in interface javax.media.ControllerListener
      • _waitForState

        protected boolean _waitForState​(int state)
        Block until the processor has transitioned to the given state. Return false if the transition failed.
        Parameters:
        state - The state for which we are waiting.
        Returns:
        True if the state transition is ok, otherwise return false.