Vai al contenuto

WebCam

Component able to connect to a remote cam through TCP/IP, using the MJPEG protocol (motion jpeg), like, as example, AXIS cams.The video is controlled by the following widget commands:
  • startWebCam: starts the video
  • stopWebCam: stops the video
  • restartWebCam: restarts the video (in case of connection parameters change at runtime)
Tipically the WebCam is convenient to activate by the action “startWebCam” associated at “onPageEnter” page event, but it’s possible to activate it even on user request, associating the action on any widget event (e.g..: a ToggleButton mouseClicked event).Note: exiting from the page always disable the video, automatically.Available properties are:
  • stretched: choose if the video needs to be adapted at component dimension. If the flag is active, the video will be zoomed in/out to fill all the available space.
  • loginUser: user name for cam access, configured on the cam itself.
  • loginPassword: password for cam access.
  • address: cam IP address on local network.
  • path: cam internal path where the video is located (it depends on cam configuration).