![Teracue ENC-200 User Manual Download Page 49](http://html1.mh-extra.com/html/teracue/enc-200/enc-200_user-manual_1088251049.webp)
ENC-200™ H.264 Encoder
User Guide V1.8
49
4.3
TCP Streaming
If in your network occurs packet loss, jitter etc., we recommend using the connection-oriented protocol
TCP. TCP provides a point-to-point connection (unicast) for applications that require reliable
communications. If the TCP connection is established, then the data will be streamed in the same
order as it was sent. Furthermore, lost packets can be retransmitted via TCP.
The ENC-200™ supports TCP streaming in connection with the DEC-200™. To use TCP streaming
on the ENC-200™ in connection with the DEC-200™, please be sure that your encoder has the
firmware version 0.9.29 or higher and your decoder has the firmware version 1.39 or higher, because
these firmware versions are necessary for TCP streaming.
TCP streaming is based on the client/server architecture. For TCP streaming with the ENC-200™ and
the DEC-200™ it exists to possibilities:
For TCP streaming you can configure the ENC-200™ as a server and the DEC-200™ as a
client.
For TCP streaming you can configure the ENC-200™ as a client and the DEC-200™ as a
server.
The ENC-200™ and DEC-200™ configuration changes depending on which client/server possibility
do you choose. So, the following subchapters describe the ENC-200™ and DEC-200™ configuration
for the two possibilities to make a TCP connection.
4.3.1
TCP configuration when ENC-200™ is the Server
Please make the following steps, to create a TCP connection at which the ENC-200™ is the server:
Please open the
ENC-200™
webpage, go to the
ENCODER > SETTINGS
webpage and
select in the
‘Transport Protocol’
drop-down field the variable
‘TCP/SERVER’
.
Go to the
ENCODER > DESTINATION
webpage of the ENC-200™ and enter a value in the
‘Sendbuffer Size’
field (e.g. 250000). The ‘Sendbuffer Size’ specifies how much TCP data
are maximal stored at the sender side (at the encoder side). The higher the value, the more
network problems can be absorbed, but the higher is the delay at the decoder in error case.
After an error case, the delay decreases again. The delay increases only, if an error occurs in
the network. That means: If no network problems occur, the delay does not increase, even
though a high value is set in the ‘Sendbuffer Size’ field.
Remain at the
ENCODER > DESTINATION
webpage of the ENC-200™ and enter in
‘Port’
field a port number which is not used in the network and which is not blocked (e. g. 1234).
Please open the
DEC-200™
webpage, go to the
DECODER > SOURCE
webpage and select
in the
‘Transport Protocol’
drop-down field the variable
‘TCP/CLIENT’
.
At the
DECODER > SOURCE
webpage of the DEC-200™, please enter in the
‘IP address’
field the IP-address of the ENC-200™ (e. g. 172.16.20.100). Note: TCP supports only unicast.
Remain at the
DECODER > SOURCE
webpage of the DEC-200™ and enter in the
‘Port
number’
field the same port number, which you have entered in the ENC-200™ (e.g. 1234).
Now the ENC-200™ and the DEC-200™ are configured for a TCP-connection.