|
- WebRTC
With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard It supports video, voice, and generic data to be sent between peers, allowing developers to build powerful voice- and video-communication solutions
- Getting started with peer connections - WebRTC
Before two peers can communicate using WebRTC, they need to exchange connectivity information Since the network conditions can vary depending on a number of factors, an external service is usually used for discovering the possible candidates for connecting to a peer
- 媒体设备使用入门 | WebRTC
在进行 Web 开发时,WebRTC 标准提供了一些 API,用于访问 摄像头和麦克风已连接到计算机或智能手机。 这些设备 通常称为媒体设备,可通过 JavaScript 进行访问 通过 navigator mediaDevices 对象实现,该对象会实现 MediaDevices 界面。
- 远程视频流使用入门 | WebRTC
RTCPeerConnection 连接到远程对等方后,便可以在它们之间流式传输音频和视频。此时,我们将从 getUserMedia() 收到的数据流连接到 RTCPeerConnection。媒体串流至少包含一个媒体轨道,当我们想要将媒体传输到远程对等方时,会将这些轨道单独添加到 RTCPeerConnection。 const localStream = await getUserMedia({video: true
- TURN 服务器 - WebRTC
TURN 服务器 大多数 WebRTC 应用都需要服务器来中继对等方之间的流量,因为客户端之间通常无法建立直接套接字(除非它们位于同一本地网络中)。 常见的解决方法是使用 TURN 服务器。 该术语代表“Traversal Using Relays around NAT”,是一种用于中继网络流量的协议。
- Premiers pas avec les périphériques multimédias | WebRTC
Lors du développement pour le Web, la norme WebRTC fournit des API permettant d'accéder caméras et micros connectés à l'ordinateur ou au smartphone
- 数据通道 - WebRTC
WebRTC 标准还涵盖通过 RTCPeerConnection。 可通过对 createDataChannel() RTCPeerConnection 对象,该对象会返回 RTCDataChannel 对象。
- Premiers pas avec les flux distants | WebRTC
Une fois qu'un RTCPeerConnection est connecté à un pair distant, il est possible de diffuser de l'audio et de la vidéo entre eux C'est là que nous connectons le flux que nous recevons de getUserMedia() à RTCPeerConnection Un flux multimédia se compose d'au moins une piste multimédia, qui est ajoutée individuellement à RTCPeerConnection lorsque nous souhaitons transmettre le contenu
|
|
|