当前位置:网站首页>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
边栏推荐
- Recommendation number | what are interesting people looking at?
- When there are too many input boxes such as input transmitted at one time in the form, the post data is intercepted
- Leetcode array question brushing notes
- 牛客网:拦截导弹
- 嵌入式软件架构设计-消息交互
- 2022 machine fitter (Advanced) test question simulation test question bank simulation test platform operation
- redis6主从复制及集群
- Liar report query collection network PHP source code
- Apicloud studio3 WiFi real machine synchronization and WiFi real machine preview instructions
- Comparison of several distributed databases
猜你喜欢
ELFK部署
金融壹賬通香港上市:市值63億港元 葉望春稱守正篤實,久久為功
Summit review | baowanda - an integrated data security protection system driven by compliance and security
Ordering system based on wechat applet
Liar report query collection network PHP source code
Brief introduction to revolutionary neural networks
Jasypt configuration file encryption | quick start | actual combat
国富氢能冲刺科创板:拟募资20亿 应收账款3.6亿超营收
PHP basic syntax
我为什么支持 BAT 拆掉「AI 研究院」
随机推荐
Routing in laravel framework
Controller in laravel framework
Etcd database source code analysis -- rawnode simple package
Requset + BS4 crawling shell listings
kafaka 日志收集
鏈錶(簡單)
These 18 websites can make your page background cool
Anchor navigation demo
荐号 | 有趣的人都在看什么?
[South China University of technology] information sharing of postgraduate entrance examination and re examination
Liste des liens (simple)
ETCD数据库源码分析——rawnode简单封装
我为什么支持 BAT 拆掉「AI 研究院」
基于微信小程序的订餐系统
Matlab learning 2022.7.4
Laravel framework operation error: no application encryption key has been specified
PHP generate Poster
Laravel dompdf exports PDF, and the problem of Chinese garbled code is solved
Internal JSON-RPC error. {"code":-32000, "message": "execution reverted"} solve the error
Solve the problem of "unable to open source file" xx.h "in the custom header file on vs from the source