WebRTC实时通信系列教程2 概述

xiaoxiao2021-02-27  249

【转载请注明出处: http://blog.csdn.net/leytton/article/details/76696521】

 PS:如果本文对您有帮助,请点个赞让我知道哦~

《WebRTC实时通信系列教程》翻译自《Real time communication with WebRTC》

示例代码下载http://download.csdn.net/detail/leytton/9923708

WebRTC实时通信系列教程1 介绍

WebRTC实时通信系列教程2 概述

WebRTC实时通信系列教程3 获取示例代码

WebRTC实时通信系列教程4 从摄像头获取视频流

WebRTC实时通信系列教程5 RTCPeerConnection传输视频

WebRTC实时通信系列教程6 使用RTCDataChannel传输数据

WebRTC实时通信系列教程7 使用Socket.IO搭建信令服务器交换信息

WebRTC实时通信系列教程8 打通P2P连接和信令通信

WebRTC实时通信系列教程9 数据通道图片传输

WebRTC实时通信系列教程10 恭喜完成本系列课程

一、译文

创建一个应用来获取摄像头视频拍照并通过WebRTC点对点分享. 你将学习使用核心WebRTC接口,并用Node创建一个消息服务器.

1、你将会学到

获取你的网络摄像头视频使用RTCPeerConnection传输视频使用RTCDataChannel传输数据创建信令服务来交换消息结合点对点连接和信令传输拍照并通过数据通道传输

2、需要准备的东西

Chrome 47 版或以上Web Server for Chrome chrome扩展插件, 或者使用你自己的服务器.示例代码文本编辑器HTML, CSS 和 JavaScript 基础

二、原文

摘自https://codelabs.developers.google.com/codelabs/webrtc-web/#1

2Overview

Build an app to get video and take snapshots with your webcam and share them peer-to-peer via WebRTC. Along the way you'll learn how to use the core WebRTC APIs and set up a messaging server using Node.

What you'll learn

Get video from your webcamStream video with RTCPeerConnectionStream data with RTCDataChannelSet up a signaling service to exchange messagesCombine peer connection and signalingTake a photo and share it via a data channel

What you'll need

Chrome 47 or aboveWeb Server for Chrome, or use your own web server of choice.The sample codeA text editorBasic knowledge of HTML, CSS and JavaScript
转载请注明原文地址: https://www.6miu.com/read-12375.html

最新回复(0)