But...in the logs the message from the videoserver seems to be picked up repeatedly by spawned connections:
I wouldn't worry about it but all this activity makes the captured video choppy and I lose frames about the time the event is triggered.09/03/06 10:17:31.654747 zmtrigger[5472].DBG [Got input from 1 connections]
09/03/06 10:17:31.655057 zmtrigger[5472].DBG [Got input from connection Gate (6)]
09/03/06 10:17:31.655348 zmtrigger[5472].DBG [Added new spawned connection (7), 1 spawned connections]
09/03/06 10:17:31.655744 zmtrigger[5472].DBG [Got input from 1 connections]
09/03/06 10:17:31.655894 zmtrigger[5472].DBG [Got input from spawned connection Gate (7)]
09/03/06 10:17:31.656011 zmtrigger[5472].DBG [Read '8|on+1|255|BeamBroken' (21 bytes)]
09/03/06 10:17:31.656142 zmtrigger[5472].DBG [Found monitor for id '8']
09/03/06 10:17:31.656239 zmtrigger[5472].DBG [Handling action 'on+1']
09/03/06 10:17:31.656600 zmtrigger[5472].INF [Triggered event 'on' 'BeamBroken']
09/03/06 10:17:31.656871 zmtrigger[5472].DBG [Added timed event '8|cancel', expires at 1157242652 (+1 secs)]
09/03/06 10:17:31.657153 zmtrigger[5472].DBG [Checking for timed actions]
09/03/06 10:17:31.657276 zmtrigger[5472].DBG [Got input from 1 connections]
09/03/06 10:17:31.657424 zmtrigger[5472].DBG [Got input from spawned connection Gate (7)]
09/03/06 10:17:31.657568 zmtrigger[5472].DBG [Removed spawned connection (7), 0 spawned connections]
09/03/06 10:17:31.657922 zmtrigger[5472].DBG [Checking for timed actions]
09/03/06 10:17:31.854759 zmtrigger[5472].DBG [Got input from 1 connections]
09/03/06 10:17:31.855050 zmtrigger[5472].DBG [Got input from connection Gate (6)]
09/03/06 10:17:31.855316 zmtrigger[5472].DBG [Added new spawned connection (7), 1 spawned connections]
09/03/06 10:17:31.855803 zmtrigger[5472].DBG [Wrote '8|on|1157242651|140
' (20 bytes)]
09/03/06 10:17:31.855908 zmtrigger[5472].DBG [Checking for timed actions]
09/03/06 10:17:31.856034 zmtrigger[5472].DBG [Got input from 1 connections]
09/03/06 10:17:31.856178 zmtrigger[5472].DBG [Got input from spawned connection Gate (7)]
09/03/06 10:17:31.856292 zmtrigger[5472].DBG [Read '8|on+1|255|BeamBroken' (21 bytes)]
09/03/06 10:17:31.856418 zmtrigger[5472].DBG [Found monitor for id '8']
09/03/06 10:17:31.856514 zmtrigger[5472].DBG [Handling action 'on+1']
...and so on until
09/03/06 10:22:54.233858 zmtrigger[6595].DBG [Found monitor for id '8']
09/03/06 10:22:54.233964 zmtrigger[6595].DBG [Handling action 'cancel']
09/03/06 10:22:54.234285 zmtrigger[6595].INF [Cancelled event '']
It works fine when I test 8|on+1|255|BeamBroken using telnet. The only obvious difference being that the message from telnet is terminated by a carriage return (in fact there's 2 bytes difference).
Could this be the issue or am I barking up the wrong tree?09/03/06 10:07:08.450317 zmtrigger[5472].DBG [Read '8|on+1|255|BeamBroken
' (23 bytes)]
09/03/06 10:07:08.450475 zmtrigger[5472].DBG [Found monitor for id '8']
The video server config file looks like this:
Code: Select all
1H=W{192.168.0.6:6802}{8|on+1|255|BeamBroken};