Difference between revisions of "Command:26"

From Awesome Baozam
Jump to: navigation, search
Line 5: Line 5:
 
* used for sending streaming data. Sending period regulated by [[cmd:23|SET Stream ]]
 
* used for sending streaming data. Sending period regulated by [[cmd:23|SET Stream ]]
  
{{CMD:2|stream}}
+
{{CMD:2|stream}
 
4 timestamp // can be 0, in this case server/client time should be used
 
4 timestamp // can be 0, in this case server/client time should be used
 +
}
 +
 
<noinclude>
 
<noinclude>
 
{{CMD:23}}
 
{{CMD:23}}

Revision as of 12:33, 26 November 2015

Stream packet

{{CMD:2|stream} 4 timestamp // can be 0, in this case server/client time should be used }


SET Stream

Response to GET Stream

1  cmd type
2  cmd id // set by server
1  streams count // max 256

streams*

 4 addr
 4 period NB. 
     positive value - send periodically every V seconds, 
     0 - do not send, 
     -1 - send occasionally, 
     -2 - send immediately