![](http://webcf.waybackmachine.org/web/20191214134634im_/https://habrastorage.org/getpro/habr/avatars/5f8/7b3/ed5/5f87b3ed57f3c334cb65f8ef69bb4610.png)
Channel quality indicator for server WebRTC over TCP
Publish and Play
There exist two main functions of WebRTC operation on the server side in the field of streaming video: publishing and playing. In the case of publishing, the video stream is captured from the web camera and moves from the browser to the server. In the case of playing, the stream moves in the opposite direction, from the server to the browser, is decoded and played in the browser’s HTML5 <video>
element on the device’s screen.