WebRTC Native APIs
来源:互联网 发布:流行网络歌曲500首 编辑:程序博客网 时间:2024/05/16 17:53
The WebRTC Native APIs implementation is based on W3C’s WebRTC 1.0: Real-time Communication Between Browsers.
The code that implements WebRTC Native APIs (including the Stream
and PeerConnection
APIs) are availablehere. A sample client application is also provided.
The target audience of this document are those who want to use WebRTC Native APIs to implement WebRTC JavaScript APIs or to develop native RTC applications.
Block Diagram
Calling Sequences
Set up a call
Receive a Call
Close Down a Call
Threading Model
WebRTC Native APIs use two globally available threads: the signaling thread and the worker thread. Depending on how the PeerConnection factory is created, the application can either provide those two threads or just let them be created internally.
Calls to the Stream APIs and the PeerConnection APIs will be proxied to the signaling thread, which means that an application can call those APIs from whatever thread.
All callbacks will be made on the signaling thread. The application should return the callback as quickly as possible to avoid blocking the signaling thread. Resource-intensive processes should be posted to a different thread.
The worker thread is used to handle more resource-intensive processes, such as data streaming.
Stream APIs (mediastream.h)
PeerConnection APIs (peerconnection.h)
- WebRTC Native APIs
- WebRTC Native APIs[翻译]
- WebRTC Native APIs[翻译]
- Webrtc Intro - Native APIs
- WebRTC Native APIs
- WebRTC Native APIs
- WebRTC Native APIs
- webrtc (3) 使用webrtc Native API实现视频通话
- APIs
- WebRTC的native层语音处理
- WebRTC的native层语音处理
- webrtc简单介绍以及用法(native)
- 打开 WebRTC 的日志(native api)
- webrtc native app 在 低带宽下的优化
- webrtc实现即时语音通讯开发小结(native)
- WebRTC
- WebRTC
- WEBRTC
- 专题四 Problem K
- java中窗体的创建
- VS2012程序打包部署详解:
- Java NIO系列教程(十) Java NIO DatagramChannel
- Python-开发之路-面向对象-进阶
- WebRTC Native APIs
- 结构体中字符串赋值
- App弱网测试与常用模拟工具
- Windows自带的虚拟机Hyper-v
- dark wonder代码解析1
- Hibernate框架入门(一)
- 类与对象
- Java NIO系列教程(十一) Pipe
- Android视图加载到窗体的流程分析