Skip to content

jsep

JavaScript Session Establishment Protocol

JSEP是什么?
JSEP的全称是 JavaScript Session Establishment Protocol
一个IETF草案
https://tools.ietf.org/id/draft-ietf-rtcweb-jsep-21.html

定义了一个Javascript应用如何通过W3C WebRTC 中的 RTCPeerConnection API来进行通话

+-----------+                               +-----------+
|  Web App  |<--- App-Specific Signaling -->|  Web App  |
+-----------+                               +-----------+
      ^                                            ^
      |  SDP                                       |  SDP
      V                                            V
+-----------+                                +-----------+
|   JSEP    |<----------- Media ------------>|   JSEP    |
|   Impl.   |                                |   Impl.   |
+-----------+                                +-----------+

定义了哪些行为:
ICE过程
确定视频分辨率

createOffer/createAnswer方法是在JSEP中定义的


未定义哪些行为:
信令模型
状态机

Related Posts

  1. webrtc 安全机制
  2. sigslots