Skip to content

JavaScript Session Establishment Protocol

This document describes the mechanisms for allowing a Javascript application to fully control the signaling plane of a multimedia session via the interface specified in the W3C RTCPeerConnection API, and discusses how this relates to existing signaling protocols.

Simple diagram

Jsep-diagram.png

JESP는 다음과 같이 제안과 응답의 종단(Peer)간의 교환이 필요합니다.위에서 언급한 미디어 메타데이터. 제안들과 응답들은 다음과 같은 '세션 기술 프로토콜 (SDP)' 형식입니다.

v=0
o=- 7614219274584779017 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS
m=audio 1 RTP/SAVPF 111 103 104 0 8 107 106 105 13 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:W2TGCZw2NZHuwlnf
a=ice-pwd:xdQEccP40E+P0L5qTyzDgfmW
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=mid:audio
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:9c1AHz27dZ9xPI91YNfSlI67/EMkjHHIHORiClQe
a=rtpmap:111 opus/48000/2

간단한 교환 순서

WebRTC_Signaling_scenario.jpeg

Signaling transaction flow

WebRTC_-_Signaling_Diagram.png

Documentation

Javascript Session Establishment Protocol draft-ietf-rtcweb-jsep-03
https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-03

See also

Favorite site

References


  1. Frozenmountain-roleofsignalinginweb.pdf 

  2. JavaScript_Session_Establishment_Protocol_in_WebRTC_handshake.pdf