This document defines a set of ECMAScript APIs in WebIDL to allow media and generic application data to be sent to and received from another browser or device implementing the appropriate set of real-time protocols. This specification is being developed in conjunction with a protocol specification developed by the IETF RTCWEB group and an API specification to get access to local media devices developed by the Media Capture Task Force.
While we have taken measures to reduce the frequency of build breakages (such as freezing respec-w3c-common at version 8.7.1), the tip-of-tree of this document may contain work in progress changes and other inconsistencies, including an incomplete change log. If you want to review something more coherent, review the latest editors' draft; these are published at intervals on the order of weeks.
- Latest published editor's draft at github
- Latest W3C published version (automatically updated; should be identical to the latest editors' draft)
This repo is the currently accepted REC version of the webrtc-pc specification, plus bug fixes. New features are not accepted directly into this document.
For how to propose extensions and new features, study the merge guide.
The content of this document is discussed at the public-webrtc mailing list.
Parts of the specification that need or have tests are marked with the data-tests
attribute. If one or several tests exist for the said part in the webrtc directory of WPT, fill the attribute with the comma-separated list of their filenames. If no test exists but tests are needed, keep the attribute with no value.
Thumbrules for where to put the data-tests
attribute in the DOM:
- apply it only to content with normative language
- put it as high in the DOM as possible
- when set on an element, you assert that the said test case provides reasonable coverage of the entire content of the element