adapter for webrtc
浏览器直接调用webrtc相关api接口,比如调用PeerConnection
。
但是实际上不同浏览器上可能这个API不同:
W3C Standard | Chrome | Firefox |
---|---|---|
getUserMedia | webkitGetUserMedia | mozGetUserMedia |
RTCPeerConnection | webkitRTCPeerConnection | RTCPeerConnection |
RTCSessionDescription | RTCSessionDescription | RTCSessionDescription |
RTCIceCandidate | RTCIceCandidate | RTCIceCandidate |
Note: 参考WebRTC APIs Interop页面的描述。
所以对于H5,推荐用一个adapter.js来支持各种浏览器。
adapter.js is a shim to insulate apps from spec changes and prefix differences in WebRTC. The prefix differences are mostly gone these days but differences in behaviour between browsers remain.
This repository used to be part of the WebRTC organisation on github but moved. We aim to keep the old repository updated with new releases.
这个库的API调用例子,参考Samples,比如PC应该用RTCPeerConnection。
相关文章
- iShowU Instant for Mac(mac屏幕录像工具)
- Spring StoredProcedure for Oracle cursor
- Waves Complete 11 for Mac(Waves全套混音插件包) v2020.11.12中文版
- OpenHarmonyOS for Hi3516dv300[通俗易懂]
- FSNotes for mac(文本处理软件)v6.0.2中文免激活版
- OmniGraffle for mac(思维导图软件)v7.21.3中文正式版
- React Native学习笔记(一)—— Win11安卓子系统的安装与使用 - Windows Subsystem for Android - WSA
- Premiere Pro 2022 for Mac(pr2022)
- ORA-22343: Compilation error for type invalidated by ALTER TYPE ORACLE 报错 故障修复 远程处理
- ORA-26800: Apply not the only subscriber for “string”.”string”. ORACLE 报错 故障修复 远程处理
- ORA-13406: null or invalid GeoRaster object for output ORACLE 报错 故障修复 远程处理
- ORA-16273: invalid value for APPLY_SERVERS parameter ORACLE 报错 故障修复 远程处理
- ORA-16815: incorrect redo transport setting for AlternateLocation for standby database “string” ORACLE 报错 故障修复 远程处理
- Mysql主从架构报错-Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work…详解数据库
- 循环Linux中使用For循环的正确方式(linux里的for)
- 使用For循环掌控Oracle数据库(for循环oracle)
- 进程探索Linux中For循环进程管理(linux中for)
- 的使用使用Oracle中的For循环加深理解(oracle中for循环)
- Optimizing Database Efficiency: Implementing Oracle Partitioning for Improved Table Management(oracle分表)
- Linux下如何优雅地使用For循环(linux下for循环)
- 使用For语句操作Oracle数据库(for语句 oracle)