当前位置:网站首页>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
边栏推荐
- 2022 driller (drilling) examination question bank and simulation examination
- Recommendation number | what are interesting people looking at?
- Aspx simple user login
- zabbix 监控
- IP packet header analysis and static routing
- 牛客网:拦截导弹
- Kotlin collaboration uses coroutinecontext to implement the retry logic after a network request fails
- 鏈錶(簡單)
- 研究生可以不用学英语?只要考研英语或六级分数高!
- PHP generate Poster
猜你喜欢

Attack and defense world web WP
![[South China University of technology] information sharing of postgraduate entrance examination and re examination](/img/a8/41e62a7a8d0a2e901e06c751c30291.jpg)
[South China University of technology] information sharing of postgraduate entrance examination and re examination
![Primary code audit [no dolls (modification)] assessment](/img/b8/82c32e95d1b72f75823ca91c97138e.jpg)
Primary code audit [no dolls (modification)] assessment

uplad_ Labs first three levels
![[public class preview]: basis and practice of video quality evaluation](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[public class preview]: basis and practice of video quality evaluation

Laravel dompdf exports PDF, and the problem of Chinese garbled code is solved

这18个网站能让你的页面背景炫酷起来

Deep copy is hard

Rk3566 add LED

Attack and defense world crypto WP
随机推荐
Jetpack Compose入门到精通
Prefix, infix, suffix expression "recommended collection"
::ffff:192.168.31.101 是一个什么地址?
OSI and tcp/ip protocol cluster
leetcode 10. Regular Expression Matching 正则表达式匹配 (困难)
:: ffff:192.168.31.101 what address is it?
蓝桥杯学习2022.7.5(上午)
Liar report query collection network PHP source code
这18个网站能让你的页面背景炫酷起来
[cloud resources] what software is good for cloud resource security management? Why?
redis6数据类型及操作总结
Rk3566 add LED
These 18 websites can make your page background cool
UE source code reading [1]--- starting with problems delayed rendering in UE
国富氢能冲刺科创板:拟募资20亿 应收账款3.6亿超营收
Requset + BS4 crawling shell listings
Network security HSRP protocol
zabbix 监控
神经网络物联网未来发展趋势怎么样
LeetCode_3(无重复字符的最长子串)