You built an app to do realtime video streaming and data exchange!
我们创建了一个视频聊天的APP, 同时支持传输文件以及其他数据!
In this codelab you learned how to:
在本教程中, 我们学习了以下内容:
Get video from your webcam.
Stream video with RTCPeerConnection.
Stream data with RTCDataChannel.
Set up a signaling service to exchange messages.
Combine peer connection and signaling.
Take a photo and share it via a data channel.
获取webcam摄像头的视频内容。
通过 RTCPeerConnection 传输视频。
通过 RTCPeerConnection 传输数据。
配置信令服务来交换消息。
集成对等连接和信令服务。
拍照并用数据通道传递给对方。
Look at the code and architecture for the canonical WebRTC chat application AppRTC: app, code.
Try out the live demos from github.com/webrtc/samples.
体验WebRTC官方示例程序AppRTC: https://appr.tc/, 查看相关的代码和架构: https://github.com/webrtc/apprtc。
体验在线demo: http://webrtc.github.io/samples, 对应的源代码地址是: https://github.com/webrtc/samples。
A range of resources for getting started with WebRTC are available from webrtc.org/start.
WebRTC相关的资源和教程, 请参考: https://webrtc.org/start。
原文链接: https://codelabs.developers.google.com/codelabs/webrtc-web/#9
翻译人员: 铁锚 - https://blog.csdn.net/renfufei
翻译日期: 2018年08月27日
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。