WebRTC and Websockets. Is there a difference

前端 未结 4 1411
天涯浪人
天涯浪人 2021-01-30 03:24

I\'m assuming that WebRTC is an API that decodes/encodes audio and video, although the communication between the server and the clients is done via web sockets, or some other ne

4条回答
  •  忘掉有多难
    2021-01-30 03:59

    WebRTC uses RTP (a UDP based protocol) for the media transport, but requires an out-of-band signaling channel to setup the communication. One option for the signaling channel is WebSocket.

提交回复
热议问题