Book
  • Introduction
  • Web API
    • TODO
    • Media Source Extentions
      • Interfaces
    • WebRTC
      • 架构概述
    • Intersection Observer API
      • 1.Concepts&Usage
      • 2.Polyfill
    • IndexedDB
      • Simple introduction
      • localforage
    • getUserMedia
      • introduction
  • Skills
    • TODO
    • Simple eventEmitter
Powered by GitBook
On this page
  • 简介
  • 什么是webRTC
  • 相关API

Was this helpful?

  1. Web API

WebRTC

PreviousInterfacesNext架构概述

Last updated 6 years ago

Was this helpful?

简介

什么是webRTC

WebRTC (Web Real-Time Communications) 是一项实时通讯技术,它允许网络应用或者站点,在不借助中间媒介的情况下,建立浏览器之间点对点(Peer-to-Peer)的连接,实现视频流和(或)音频流或者其他任意数据的传输。WebRTC包含的这些标准使用户在无需安装任何插件或者第三方的软件的情况下,创建点对点(Peer-to-Peer)的数据分享和电话会议成为可能。

WebRTC包含了若干相互关联的API和协议以达到这个目标。你在这里看到的文档将会帮助你理解WebRTC的基本概念,还会教你如何去建立和使用可以传输媒体数据和其他任意数据的连接。当然你还会学到更多其他的东西。

相关API

RTCPeerConnection RTCSessionDescription RTCIceCandidate RTCPeerConnectionIceEvent MessageEvent MediaStream RTCStatsReport RTCIdentityEvent RTCIdentityErrorEvent MediaStreamEvent MediaStreamTrack MediaDevices

官网

Google codelabs

MDN

第三方用webrtc的实现

https://webrtc.org/
https://codelabs.developers.google.com/codelabs/webrtc-web/
https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Protocols
https://demo.webrtc.win