Traffic flows between four main parts of the system: Browser, WCS, WebServer (backend) and SIP Server. Data move through ports and protocols specified in the Architecture section. The list of default ports can be found in the Server core section. Also, you can change used ports in the configuration files.
The flowchart below displays flows of signal (blue) and media (red) traffic. Secure traffic sent via, for example, SRTP, HTTPS or RTMFP cannot be decrypted without knowing appropriate keys, but for localizing a malfunction decrypting traffic is usually redundant. Information about its proper flow between all parts of the scheme is often enough.
Therefore, for correct operation of the server, the following traffic types should flow properly:
- REST / HTTP
- ---- ICE
- ---- DTLS
- ---- SRTP
- RTSP / RTP
To make a traffic dump, use the following command
Tcpdump allows you to record all traffic including the local REST HTTP that by default heads to application management settings from the command line interface.. To change this address, use
To filter dumps in Wireshark you can apply the following filters:
ip.src==127.0.0.1 && tcp.dstport==8081
The last filter is used for REST / HTTP traffic that locally flows through the port 8081 if the local app EchoApp is queried.