[+] 终端
This commit is contained in:
@@ -1,7 +1,57 @@
|
||||
# WebRTC
|
||||
|
||||
## 安装
|
||||
## WebRTC协议栈
|
||||
|
||||
## 观察者
|
||||
|协议|描述|
|
||||
|:--|:--|
|
||||
|UDP|基础协议|
|
||||
|DTLS|UDP数据包传输层安全性协议|
|
||||
|RTP|实时传输协议(音频视频)|
|
||||
|SRTP|RTP + DTLS|
|
||||
|RTCP|RTP传输控制协议(监控数据传输质量并给予数据发送方反馈)|
|
||||
|SRTCP|RTCP + DTLS|
|
||||
|SCTP|流控制传输协议(自定义的应用数据传输)|
|
||||
|STUN/TURN|内网穿透协议|
|
||||
|
||||
订阅发布
|
||||
## ICE/SIP/SDP
|
||||
|
||||
ICE信息的描述格式通常采用标准的SDP,其全称为Session Description Protocol,即会话描述协议。
|
||||
SDP只是一种信息格式的描述标准,不属于传输协议,但是可以被其他传输协议用来交换必要的信息,例如:SIP、RTSP等等。
|
||||
|
||||
## 协议关系
|
||||
|
||||
```
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
| HTTPS/WSS | | SCTP | SRTP/SRTCP |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ICE/SIP/SDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
| TLS | | DTLS |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
| HTTP/WS | STUN/TURN | RTP/RTCP |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
| TCP | UDP |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
| IPv4/IPv6 |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
```
|
||||
|
||||
## 其他协议
|
||||
|
||||
|协议|描述|
|
||||
|:--|:--|
|
||||
|HLS|基于HTTP的自适应码率流媒体传输协议|
|
||||
|RTSP|可以控制媒体(点播)|
|
||||
|RTMP|实时消息传送协议|
|
||||
|
||||
## 通道
|
||||
|
||||
|通道类型|协议|
|
||||
|:--|:--|
|
||||
|信令通道|自己实现|
|
||||
|会话通道|SIP/SDP|
|
||||
|媒体通道|RTP/RTCP/SRTP/SRTCP|
|
||||
|
||||
## WebRTC资料
|
||||
|
||||
[GB28181](https://blog.csdn.net/jisuanji111111/article/details/121634199)
|
||||
[WebRTC协议](http://www.manoner.com/post/音视频基础/WebRTC核心组件和协议栈/)
|
||||
[WebRTC开源项目](https://blog.csdn.net/ababab12345/article/details/115585378)
|
||||
|
||||
@@ -17,10 +17,18 @@
|
||||
<description>WebRTC模块</description>
|
||||
|
||||
<modules>
|
||||
<module>taoyao-webrtc-jni</module>
|
||||
<module>taoyao-webrtc-sfu</module>
|
||||
<module>taoyao-webrtc-mcu</module>
|
||||
<module>taoyao-webrtc-mesh</module>
|
||||
<module>taoyao-webrtc-jitsi</module>
|
||||
<module>taoyao-webrtc-kurento</module>
|
||||
</modules>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-boot</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
0
taoyao-webrtc/taoyao-webrtc-jitsi/README.md
Normal file
0
taoyao-webrtc/taoyao-webrtc-jitsi/README.md
Normal file
30
taoyao-webrtc/taoyao-webrtc-jitsi/pom.xml
Normal file
30
taoyao-webrtc/taoyao-webrtc-jitsi/pom.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>taoyao-webrtc-jitsi</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>taoyao-webrtc-jitsi</name>
|
||||
<description>WebRTC协议簇实现:jitsi</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.jitsi</groupId>
|
||||
<artifactId>ice4j</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jitsi</groupId>
|
||||
<artifactId>libjitsi</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
0
taoyao-webrtc/taoyao-webrtc-kurento/README.md
Normal file
0
taoyao-webrtc/taoyao-webrtc-kurento/README.md
Normal file
@@ -10,13 +10,17 @@
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>taoyao-webrtc-jni</artifactId>
|
||||
<artifactId>taoyao-webrtc-kurento</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>taoyao-webrtc-jni</name>
|
||||
<description>WebRTC JNI:WebRTC本地接口</description>
|
||||
<name>taoyao-webrtc-kurento</name>
|
||||
<description>WebRTC协议簇实现:kurento</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.kurento</groupId>
|
||||
<artifactId>kurento-client</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -19,7 +19,11 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-jni</artifactId>
|
||||
<artifactId>taoyao-webrtc-jitsi</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-kurento</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -19,7 +19,11 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-jni</artifactId>
|
||||
<artifactId>taoyao-webrtc-jitsi</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-kurento</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user