GeoVision Client Side ActiveX Streaming Video Window

From Cinemar Wiki
Jump to: navigation, search

About

Displays a live view of your GeoVision Cameras directly within MainLobby's interface using ActiveX. Optionally, you can also display a streaming jpg from any camera. This allows users to layer graphics on top of the streaming jpg image.


Requirements

  • GeoVision Version 8.01 or Version 8.12
  • GeoVision MultiView 8110 or MultiView 8120 needs to be installed on all MainLobby clients that wish to display live Video Feeds as well as your MLServer computer.
  • GeoVision GV-1120, GV-1240 or GV-1480 DVR card
  • WebCam Server should be running and properly configured.
  • MLServer and the MLIPCamera Family Plugin is required for streaming jpg images and taking snapshots




Configuration

Library0024

The GeoVision Plugin requires a separate Library that includes objects necessary to display your GeoVision cameras within MainLobby's interface. This Library should be installed on every MainLobby client.


MLGVWindow Object

To add a live video feed to your MainLobby interface:

  1. From MainLobby select Library from the MainLobby Menu Bar
  2. Select Library0024 from the Library Drop Down
  3. Press Add
  4. Press the MLGVWindow Thumbnail Square if you have Version 8.01 or Press the MLGVWindow8120 Thumbnail Square if you have Version 8.12
  5. Close the Library Panel by pressing the X in the upper right corner
  6. Now press EDIT from the MainLobby Menu Bar
  7. Then left-click on the MLGVWindow Blue Square
  8. Modify the label field per the instructions below and then Press OK




Label Field Properties

{Label}Script Usage

WindowWidth~WindowHeight~GVcam#~IPaddress~GVusername~GVpassword~GVCommandPort~GVDataPort~GVAudioDataPort~windowID#~ImageSize


(Literal)

640~480~3~192.168.1.104~myUsername~myPassword~4550~5550~6550~1~4

Results: Displays camera#3 in a 640x480 window with a windowID equal to 1


320~240~1~192.168.1.104~myUsername~myPassword~4550~5550~6550~2~0

Results: Displays camera#1 in a 320x240 window with a windowID equal to 2


Parameters
WindowWidth = Width of the camera window
WindowHeight = Height of the camera window
GVcam# = Camera Number as configured in the GeoVision Multicam Surveillance Software
IPaddress = IP Address or Computer Name of computer running GeoVision Multicam Surveillance Software
GVusername = Your GeoVision Username as configured in the GeoVision Multicam Surveillance Software
GVpassword = Your GeoVision Password as configured in the GeoVision Multicam Surveillance Software
GVCommandPort = Your GeoVision Command Port as configured in the GeoVision Multicam Surveillance Software under WebCam Server > Server Tab
GVDataPort = Your GeoVision Data Port as configured in the GeoVision Multicam Surveillance Software under WebCam Server > Server Tab
GVAudioDataPort = Your GeoVision Data Port as configured in the GeoVision Multicam Surveillance Software
windowID# = A unique windowID# (ie: 1, 2, 3, 4, etc) that is referenced later for control. The windowID# should be unique per scene. You can have multiple windows on a single scene, but again, the windowID# should be unique.
ImageSize = Sets video resolution to receive. By default the value is 0 which equals 320x240. See Receiving Image Size Chart below for optional parameters. May require V8.12 and MLGVWindow8120 Library Object.


Receiving Image Size Chart
0 = Receiving video size is 320x240
1 = Receiving video size is 640x240
2 = Receiving video size is 720x240
3 = Receiving video size is 720x288
4 = Receiving video size is 640x480
5 = Receiving video size is 720x480
6 = Receiving video size is 720x576
NOTE: In order to use 640x480 (4), you must configure A/V Settings > Video Source to 640x480 in the GeoVision Software.





Supported Commands

FullScreen

{MLServeCmd}Script Usage

MLServeCmd.MLCmd|clientname~MLGV|Fullscreen~windowID


(Literal)

MLServeCmd.MLCmd|{{clientname}}~MLGV|Fullscreen~1

MLServeCmd.MLCmd|myClient1~MLGV|Fullscreen~1


Parameters
clientname = Name of the MainLobby client to send the command to
windowID = Window ID# as defined in the label field of the MLGVWindow Object


Description

Displays the specified camera in Fullscreen mode. Clicking anywhere on the screen will return the video to normal size and back to your existing scene.


ChangeCam

{MLServeCmd}Script Usage

MLServeCmd.MLCmd|clientname~MLGV|ChangeCam~windowID~GVCam#


(Literal)

MLServeCmd.MLCmd|{{clientname}}~MLGV|ChangeCam~1~4

MLServeCmd.MLCmd|myClient1~MLGV|ChangeCam~1~2


Parameters
clientname = Name of the MainLobby client to send the command to
windowID = Window ID# as defined in the label field of the MLGVWindow Object
GVCam# = Geovision Camera # as defined in the GeoVision Multicam Surveillance Software


Description

Changes the existing camera being displayed to the new one specified in the command.


Stop

{MLServeCmd}Script Usage

MLServeCmd.MLCmd|clientname~MLGV|Stop~windowID


(Literal)

MLServeCmd.MLCmd|{{clientname}}~MLGV|Stop~1

MLServeCmd.MLCmd|myClient1~MLGV|Stop~2


Parameters
clientname = Name of the MainLobby client to send the command to
windowID = Window ID# as defined in the label field of the MLGVWindow Object on that scene


Description

Stops the camera feed to the windowID# specified. The screen will turn blue. Playback can be initiated again by sending the Play command.


Pause

{MLServeCmd}Script Usage

MLServeCmd.MLCmd|clientname~MLGV|Pause~windowID


(Literal)

MLServeCmd.MLCmd|{{clientname}}~MLGV|Pause~1

MLServeCmd.MLCmd|myClient1~MLGV|Resume~2


Parameters
clientname = Name of the MainLobby client to send the command to
windowID = Window ID# as defined in the label field of the MLGVWindow Object on that scene


Description

Pauses the live video playback. Playback will begin after sending the Resume command.


Resume

{MLServeCmd}Script Usage

MLServeCmd.MLCmd|clientname~MLGV|Resume~windowID


(Literal)

MLServeCmd.MLCmd|{{clientname}}~MLGV|Resume~1

MLServeCmd.MLCmd|myClient1~MLGV|Resume~2


Parameters
clientname = Name of the MainLobby client to send the command to
windowID = Window ID# as defined in the label field of the MLGVWindow Object on that scene


Description

Resumes playback after first sending the Pause command.


Play

{MLServeCmd}Script Usage

MLServeCmd.MLCmd|clientname~MLGV|Play~windowID


(Literal)

MLServeCmd.MLCmd|{{clientname}}~MLGV|Play~1

MLServeCmd.MLCmd|myClient1~MLGV|Play~2


Parameters
clientname = Name of the MainLobby client to send the command to
windowID = Window ID# as defined in the label field of the MLGVWindow Object on that scene


Description

Plays the camera feed to the windowID# specified. The Play command is only necessary if the stream was previously Stopped.


Control

{MLServeCmd}Script Usage

MLServeCmd.MLIPCamera|<<Cam Id>>~Control~<<Direction>>~<<*Repeat Count>>


(Literal)

MLServeCmd.MLIPCamera|1~Control~TiltUp

MLServeCmd.MLIPCamera|Cam1~Control~TiltUp~1

MLServeCmd.MLIPCamera|001~Control~TiltUp~3


Parameters
Cam Id = The number assigned to the camera in the plugin.
Direction = The direction to move the camera.
Values= TiltUp,TiltDown,PanLeft,PanRight.
Repeat Count = The number of times to move the camera.


Description

Will move the camera in the specified direction the specified number of times.

When the repeat count is not specified it is determined to be 1.


Active

{MLServeCmd}Script Usage

MLServeCmd.MLIPCamera|<<Cam Id>>~Active


(Literal)

MLServeCmd.MLIPCamera|1~Active

MLServeCmd.MLIPCamera|Driveway~Active


Parameters
Cam Id = The number assigned to the camera in the plugin.


Description

This command sets the specified camera to be your active camera.


UpdateImage

{MLServeCmd}Script Usage

MLServeCmd.MLIPCamera|<<Cam Id>>~UpdateImage


(Literal)

MLServeCmd.MLIPCamera|1~UpdateImage

MLServeCmd.MLIPCamera|Driveway~UpdateImage


Parameters
Cam Id = The number assigned to the camera in the plugin.


Description

This command starts the plugin updating the current image from the camera every second.


StopUpdateImage

{MLServeCmd}Script Usage

MLServeCmd.MLIPCamera|<<Cam Id>>~StopUpdateImage


(Literal)

MLServeCmd.MLIPCamera|1~StopUpdateImage

MLServeCmd.MLIPCamera|Driveway~StopUpdateImage


Parameters
Cam Id = The number assigned to the camera in the plugin.


Description

This command stops the plugin updating the current image from the camera.


Record

{MLServeCmd}Script Usage

MLServeCmd.MLIPCamera|<<Cam Id>>~Record


(Literal)

MLServeCmd.MLIPCamera|1~Record

MLServeCmd.MLIPCamera|Driveway~Record


Parameters
Cam Id = The number assigned to the camera in the plugin.


Description

This command starts the camera recording.


StopRecord

{MLServeCmd}Script Usage

MLServeCmd.MLIPCamera|<<Cam Id>>~StopRecord


(Literal)

MLServeCmd.MLIPCamera|1~StopRecord

MLServeCmd.MLIPCamera|Driveway~StopRecord


Parameters
Cam Id = The number assigned to the camera in the plugin.


Description

This command stops the camera recording.


Tips

Improving Connection to GeoVision Server Time

By lowering GeoVision's WebCam network security, you can improve the time it takes for MainLobby to start displaying the ActiveX streaming video.

Here's how:

  1. On your GeoVision Server, select the round Network Button
  2. Select WebCam Server(W) from the menu
    Geovision.tips.01.jpg
  3. From the General Tab, uncheck "Enhance network security"
    Geovision.tips.02.jpg
  4. Press OK

Make sure the WebCam Server is checked by clicking on the round Network Button. If it isn't, you'll need to select WEbCam Server one more time.

You'll now see the live video stream in your MainLobby client much sooner than before.

Release Notes

07/03/08 - Version 1.0.194

Bug Fixes

  • If a connection to GeoVision couldn't be found, it could cause MLServer to lockup during startup


06/03/08 - Version 1.0.178

Bug Fixes

  • Selecting Drop Down to change display resolution wasn't working properly until a restart of MLServer