I have been getting some cameras terminating their connections so found the module above in order to reset a failing stream.
My first question relating to the settings is it states 'Those settings are quite conservative. '. What should be taken into account to work out an accurate figure or a good general guideline?
the ip cameras are only streaming video therefore I set the audio options to false in the monitoring firstly.
I then set the following for video :
<Property>
<Name>streamMonitorStreamStartTimeout</Name>
<Value>20000</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>streamMonitorStreamTimeout</Name>
<Value>12000</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>streamMonitorVideoStartTimeout</Name>
<Value>20000</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>streamMonitorVideoTimeout</Name>
<Value>12000</Value>
<Type>Integer</Type>
</Property>
Property>
<Name>streamMonitorVideoTCToleranceEnable</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
<Property>
<Name>streamMonitorVideoTCPosTolerance</Name>
<Value>3000</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>streamMonitorVideoTCNegTolerance</Name>
<Value>-3000</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>streamMonitorDataTCToleranceEnable</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
<Property>
<Name>streamMonitorDataTCPosTolerance</Name>
<Value>3000</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>streamMonitorDataTCNegTolerance</Name>
<Value>-3000</Value>
<Type>Integer</Type>
</Property>
I left the AVSync settings on false as i have no audio so not interested.
And I have turned on the debug level :
<Property>
<Name>streamMonitorDebug</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
An example of a log entry is below :
2012-08-08 19:58:46 GET comment server INFO 200 - MediaStreamMonitor.monitor[live/_definst_/camera-GHR_S.stream]: inc:542 range:27196-27201:27201 state:0 t/a/v/d:6/0/6/0 aTol:0:false:0 vTol:0:true:0 dTol:0:true:0 sTol:0:false - - - 2306.023 - - -- - - - - - - - - - - - - - - - - - - - --
is there any definition to what it shows? Where it says
inc:542 << What is this referring to?
range:27196-27201:27201 << I guess this is something to do with the +-3000 range I put in there but it doesnt add up
state:0 t/a/v/d:6/0/6/0 << a,v,d are audio, video and data.. what is the t? total? the 6 is saying what? 6 errors or 6... something?
Some help would be appreciated
Thanks


Reply With Quote