Added VARPLAY command to event stream.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2688 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
6d78b17d90
commit
55ce645728
|
@ -827,6 +827,17 @@ void EventStream::processCommand( const CmdMsg *msg )
|
||||||
replay_rate = ZM_RATE_BASE;
|
replay_rate = ZM_RATE_BASE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case CMD_VARPLAY :
|
||||||
|
{
|
||||||
|
Debug( 1, "Got VARPLAY command" );
|
||||||
|
if ( paused )
|
||||||
|
{
|
||||||
|
// Clear paused flag
|
||||||
|
paused = false;
|
||||||
|
}
|
||||||
|
replay_rate = msg->msg_data[1];
|
||||||
|
break;
|
||||||
|
}
|
||||||
case CMD_STOP :
|
case CMD_STOP :
|
||||||
{
|
{
|
||||||
Debug( 1, "Got STOP command" );
|
Debug( 1, "Got STOP command" );
|
||||||
|
|
Loading…
Reference in New Issue