官术网_书友最值得收藏!

Summary

In this chapter, we learned that a WebRTC communication process is divided into two parts: signaling, where the session setup and teardown is agreed to, and media transactions, which deals with the actual RTP streams that contain voice/video/data that the user has sent. We saw how to program the three basic APIs of WebRTC media stack, namely, getUserMedia, RTCPeerConnection, and DataChannel. The Running WebRTC without SIP section described signaling done over JSON via XMLHttpRequest using Node.js as the intermediately signaling server to connect the peers and prepare for the media flow. The next section, Running WebRTC with SIP, listed the libraries or WebRTC clients that use SIP over WebSocket to take care of the signaling between WebRTC peers. In the following chapters, we will see how to use WebRTC media APIs over the SIP WebSocket protocol in detail.

主站蜘蛛池模板: 永德县| 新宁县| 清涧县| 建湖县| 三明市| 宁晋县| 太白县| 文昌市| 中山市| 公主岭市| 浮山县| 双江| 衡山县| 治县。| 隆安县| 吴江市| 永清县| 张家界市| 宜昌市| 旬邑县| 崇礼县| 宁乡县| 南川市| 聂拉木县| 石楼县| 樟树市| 蒲江县| 平遥县| 定南县| 永寿县| 邵武市| 丰城市| 广州市| 武平县| 三门县| 舒城县| 滨海县| 香港| 蛟河市| 将乐县| 迁西县|