コンテンツにスキップ

WebRTC

出典: フリー百科事典『ウィキペディア(Wikipedia)』
WebRTC
作者 Justin Uberti
Peter Thatcher
初版 2011年 (13年前) (2011)
最新版

1.1 / 2017年5月4日 (7年前) (2017-05-04)

リポジトリ webrtc.googlesource.com
プログラミング
言語
C++[1]JavaScript
ライセンス BSDライセンス
公式サイト webrtc.org
テンプレートを表示

Web Real-Time Communication (: WebRTC[2]) API

[3]WebRTCAppleGoogleMozillaOpera

WebRTC 11 JavaScript API [4] W3C  IETF 

WebRTCIoTRTP[5]BSDGStreamerOpenWebRTCJavaScriptWebRTC [6]

歴史

[編集]

WebRTCGoogle[7]IETF[8]W3CAPI[9]

W3CWebRTC[10]Google ChromeMozilla FirefoxAPIWHATWG[11]ConnectionPeer APIEricsson Labs[12]
  • ウェブブラウザでのリアルタイムなコミュニケーションを可能にするこのドキュメントと一緒に一連のプロトコルを定義するためのIETFにおける仲間のRTCWEBグループ[13]での継続的交流の成果
  • ローカルキャパシティとローカルストリームを公開する時に発生するプライバシー問題
  • 特殊な環境でデータチャネルの実装に関するグループでの技術的ディスカッション[14]
  • 初期の実験を通して得られる経験
  • 他のグループや個人からのフィードバックの受け取り

概要

[編集]

設計

[編集]

WebRTC API 

getUserMedia [15]

RTCPeerConnection P2P[16]

RTCDataChannel WebSocketsAPI[17]

WebRTC API

getStats WebRTCWebW3C[18]

WebRTCAPIInteractive Connectivity EstablishmentICEICENAT

サポート

[編集]

WebRTCは以下のブラウザでサポートされている。

仕様

[編集]

次の 6 つの機能グループ(functionality groups)からなる:

表. 機能グループの一覧
グループ名 要件・機能例
メディア転送基盤 (media transport infrastructure[24])
データ転送 (Data transport) RFC8835 に準拠[25]
データフレーミング (Data framing) RTP 形式・SRTP 実装が必須[26]

非 RTP 形式に関する対応も必須[27] データチャネル確立プロトコルはrfc8832準拠

データ形式 (Data formats) 最小限のコーデック・フォーマットを指定[28]

音声: Opus, PCMA, PCMU, comfort noise

メディアサービス (media service[29])
接続管理 (Connection management)
表示と制御 (Presentation and control)
ローカルシステム補助機能 (Local system support functions) エコー除去自動利得制御録音

認証認可、OSアクセス制御[30]

Local system support functions

[編集]
  • プライバシー懸念の解消は必須[31](例: カメラアクセス認可)
  • endpoint は RFC7874 の processing functions を必ず実装[32]

用語

[編集]

以下は WebRTC の文脈で専門用語として意味が定義された用語の一例である[33]

リアルタイムメディア

[編集]

WebRTC  (Real-Time Media) - 100 [34]

WebRTC 

規格書

[編集]

W3C や IETF において WebRTC の規格が策定されている。以下はその一部である:

表. WebRTC 規格
規格書名 規格種別 発行日
WebRTC: Real-Time Communication in Browsers W3C Recommendation 2023-03-06
WebRTC 1.0: Real-Time Communication Between Browsers W3C Recommendation 2021-01-26
RFC 8835 Transports for WebRTC RFC Proposed Standard 2021-01-18
RFC 8834 Media Transport and Use of RTP in WebRTC RFC Proposed Standard 2021-01-18
RFC 8832 WebRTC Data Channel Establishment Protocol RFC Proposed Standard 2021-01-18
RFC 8831 WebRTC Data Channels RFC Proposed Standard 2021-01-18
RFC 8826 Security Considerations for WebRTC RFC Proposed Standard 2021-01-18
RFC 8825 Overview: Real-Time Protocols for Browser-Based Applications RFC Proposed Standard 2021-01-18
RFC 7874 WebRTC Audio Codec and Processing Requirements RFC Proposed Standard 2016-05-25

脚注

[編集]


(一)^ https://webrtc.googlesource.com/src/webrtc/

(二)^ "to be compliant with Web Real-Time Communication (WebRTC)." RFC 8825 

(三)^ How WebRTC Is Revolutionizing Telephony. Blogs.trilogy-lte.com (2014-02-21). Retrieved on 2014-04-11.

(四)^ "The total WebRTC effort consists of two major parts ... A protocol specification ... A JavaScript API specification" RFC 8825 

(五)^ WebRTC. WebRTC. 201818201826

(六)^ WebRTC: Plugin-free realtime communication. 201826

(七)^ Google release of WebRTC source code from Harald Alvestrand on 2011-05-31 (public-webrtc@w3.org from May 2011).  Lists.w3.org. 2012912

(八)^ https://tools.ietf.org/wg/rtcweb/charters?item=charter-rtcweb-2011-05-03.txt

(九)^ WebRTC 1.0: Real-time Communication Between Browsers.  W3.org. 2012912

(十)^ WebRTC 1.0: Real-time Communication Between Browsers.  Dev.w3.org. 2012912

(11)^ href. 1 Introduction  HTML Standard.  Whatwg.org. 2012912

(12)^ Beyond HTML5: Peer-to-Peer Conversational Video | Ericsson Labs.  Labs.ericsson.com. 2012912

(13)^ Rtcweb Status Pages.  Tools.ietf.org. 2012912

(14)^ draft-jesup-rtcweb-data-protocol-00 - WebRTC Data Channel Protocol.  Tools.ietf.org. 2012912

(15)^ Media Capture and Streams: getUserMedia.  W3C (201393). 2014115

(16)^ WebRTC: RTCPeerConnection Interface.  W3C (2013910). 2014115

(17)^ WebRTC: RTCDataChannel.  W3C (2013910). 2014115

(18)^ Identifiers for WebRTC's Statistics API.  W3C (2014929). 2020831

(19)^ ORTC API is now available in Microsoft Edge.  Microsoft (2015918). 2020831

(20)^ Firefox Notes - Desktop. Mozilla.org (2013-06-25). Retrieved on 2014-04-11.

(21)^ Safari 11.0.  Apple Inc.. 201766

(22)^ Opera News. blogs.opera.com (2013-11-19). Retrieved on 2015-09-17.

(23)^ Firefox Notes - Desktop. Mozilla.org (2013-09-17). Retrieved on 2014-08-04.

(24)^ 'first three groups as forming a "media transport infrastructure"' RFC 8825 

(25)^ "WebRTC endpoints MUST implement the transport protocols described in [RFC8835]." RFC 8825 

(26)^ "The format for media transport is RTP ... Implementation of the Secure Real-time Transport Protocol (SRTP) [RFC3711] is REQUIRED for all implementations." RFC 8825 

(27)^ "Considerations for the transfer of data that is not in RTP format are described in [RFC8831] ... WebRTC endpoints MUST implement these two specifications." RFC 8825 

(28)^ "This document specifies a minimum baseline ... and leaves further codecs to be included" RFC 8825 

(29)^ 'the last three groups as forming a "media service".' RFC 8825 

(30)^ "Local system support functions ... Examples in this category include echo cancellation ... local authentication and authorization mechanisms, OS access control, and the ability to do local recording of conversations." RFC 8825 

(31)^ "Privacy concerns MUST be satisfied" RFC 8825 

(32)^ "WebRTC endpoints MUST implement the processing functions in [RFC7874]" RFC 8825 

(33)^ "The following terms are used across the documents specifying the WebRTC suite, with the specific meanings given here." RFC 8825 

(34)^ "Media where the generation and display of content are intended to occur closely together in time (on the order of no more than hundreds of milliseconds)." RFC 8825 

関連項目

[編集]

外部リンク

[編集]