当前位置:网站首页>WebRTC的学习(二)
WebRTC的学习(二)
2022-07-05 13:54:00 【全栈程序员站长】
英文原文的链接地址为:https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Overview
WebRTC是由一些关联的API和协议一起协作,支持两个或多个终端之间交换数据和媒体信息的技术。这篇文章提供了这些APIs的介绍和提供的功能。
RTCPeerConnection
在媒体能够交换,或者数据通道建立之前,你需要把两个终端连接起来。这个连接过程的完成就是使用RTCPeerConnection 接口。
MediaStream
MediaStream接口描述了终端之间传输的媒体流。这个流由一个或多个媒体通道信息;通常这是一个音频通道或者视频通道信息。
一个媒体流能够传输实时的媒体(例如音频通话或者视频会议等)或者已存的媒体(例如网上电影)。
RTCDataChannel
WebRTC支持在建立连接的两个终端之间相互的传输二进制数据。这个过程通过RTCDataChannel接口。
这个接口可以作为数据的反向通道,甚至作为主要的数据通道去交换各种数据。
例如在游戏应用中,通过这个接口可以实现多玩家支持,相互传送玩家的动作更新之类的数据。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/109268.html原文链接:https://javaforall.cn
边栏推荐
- [machine learning notes] how to solve over fitting and under fitting
- 搭建一个仪式感点满的网站,并内网穿透发布到公网 2/2
- Routing in laravel framework
- leetcode 10. Regular Expression Matching 正则表达式匹配 (困难)
- OSI and tcp/ip protocol cluster
- 登录界面代码
- JS takes key and value from an array object to form a new object
- [cloud resources] what software is good for cloud resource security management? Why?
- Basic characteristics and isolation level of transactions
- Redis6 master-slave replication and clustering
猜你喜欢

Brief introduction to revolutionary neural networks

Xampp configuring multiple items

Jasypt configuration file encryption | quick start | actual combat

Intranet penetration tool NetApp

::ffff:192.168.31.101 是一个什么地址?

Redis6 transaction and locking mechanism

Elfk deployment

【云资源】云资源安全管理用什么软件好?为什么?
![[public class preview]: basis and practice of video quality evaluation](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[public class preview]: basis and practice of video quality evaluation

Attack and defense world crypto WP
随机推荐
When there are too many input boxes such as input transmitted at one time in the form, the post data is intercepted
LeetCode_69(x 的平方根 )
Require, require in PHP_ once、include、include_ Detailed explanation of the efficiency of repeated introduction of once class library
uplad_ Labs first three levels
In addition to the root directory, other routes of laravel + xampp are 404 solutions
Request + BS4 crawl Netease cloud music popular comments
poi设置列的数据格式(有效)
Redis6 transaction and locking mechanism
upload (1-6)
Solve the problem of invalid uni app configuration page and tabbar
Kafaka log collection
这18个网站能让你的页面背景炫酷起来
Assembly language - Beginner's introduction
Why do I support bat to dismantle "AI research institute"
leetcode 10. Regular expression matching regular expression matching (difficult)
LeetCode_2(两数相加)
Set up a website with a sense of ceremony, and post it to the public 2/2 through the intranet
Basic characteristics and isolation level of transactions
国富氢能冲刺科创板:拟募资20亿 应收账款3.6亿超营收
js 从一个数组对象中取key 和value组成一个新的对象