User`s manual

11. Appendix A - Hydra Open Protocol
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
__________________________________________________________________________________
11-37
These commands are used to configure video streams.
Add stream
Define a video stream with its parameters.
Note: This command stores the stream parameters without any notice, even though a stream with this
STREAM_ID might already exist. Therefore carefully check in advance not to overwrite information you still
need.
You must use initstreams afterwards to initialize the streams.
Send
<COMMAND ID="addstream" SERIAL="example">
<STREAM ID="video_stream3">
<CASTING>0</CASTING>
<ADDRESS>150.158.194.195</ADDRESS>
<PORT>6662</PORT>
<ENCODER>theencoder</ENCODER>
<ENCODERADDRESS>150.158.231.8</ENCODERADDRESS>
<ENCODERPORT>3231</ENCODERPORT>
<VIDEOPID>0</VIDEOPID>
</STREAM>
</COMMAND>
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
</COMMANDRESULT>
See also Setstream, Deletestream, Initstreams
The following values can be used with the CASTING element:
0
unicast
1
multicast
2
broadcast
Set stream
Assign a specific stream on a certain module
to a certain source. To each streaming video source a stream should
be specified.
Send
<COMMAND ID="setstream" SERIAL="example">
<MODULE ID="module2">
<SOURCE ID="0">
<STREAM ID="stream1">
</STREAM>
</SOURCE>
</MODULE>
</COMMAND>
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
</COMMANDRESULT>
See also Addstream, Deletestream, Initstreams