Skip to content

Commit 2208122

Browse files
authored
Merge pull request #14 from libxengine/develop
V2.7.0.1001 Merge
2 parents 7259082 + 47d9842 commit 2208122

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1071
-205
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

CHANGELOG

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
XEngine_StreamMedia V2.7.0.1001
2+
3+
增加:srtp核心代码文件
4+
增加:HTTP OPTION 选项支持
5+
增加:编译选项支持SRT协议开关
6+
更新匹配:XEngine V8.25
7+
修改:增加RTC的URL名称支持当HTTPAPI访问时候
8+
修改:srt的SRTSOCKET类型修改为XSOCKET
9+
修改:stun端口移动为rtc端口
10+
修改:dtls握手支持
11+
修改:dtls和stun和srtp包解析分离支持
12+
修改:继续优化webrtc的sdp处理和打包协议
13+
修正:srt服务接受数据异常的问题
14+
修正:没有处理rtc播放请求的问题
15+
修正:http 的API请求处理错误
16+
修正:makefile的宏名称不正确
17+
18+
added:srtp core code file
19+
added:http option supported
20+
added:build switch and srt protocol support
21+
update:match xengine v8.25
22+
modify:added rtc url name when http api verification
23+
modify:srt SRTSOCKET type to XSOCKET
24+
modfy:stun port remove rtc port
25+
modify:dtls handshakes supported
26+
modify:dtls and stun and srtp packet judgment handle
27+
modify:continue to improve the sdp of webrtc
28+
fixed:srt server caused exceptions when recv message
29+
fixed:not handle webrtc play request
30+
fixed:http restful api handle error
31+
fixed:makefile macro name is incorrect
32+
=======================================================
133
XEngine_StreamMedia V2.6.0.1001
234

335
增加:ts拉流支持

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

README.en.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Publish Stream:
2929
| -------- | --------- | -------- | -------- |
3030
| RTMP | H264 | AAC | Completed |
3131
| SRT | H264,H265 | AAC | Completed |
32-
| WEBRTC | H264 | AAC | Not Start |
32+
| WEBRTC | H264 | OPUS | Not Start |
3333
| GB28181 | H264 | AAC | Not Start |
3434
| JT1078 | H264 | AAC | Completed |
3535
| XStream | H264,H265 | AAC | Completed |
@@ -42,7 +42,7 @@ Play Stream:
4242
| RTSP | H264 | AAC | Completed |
4343
| M3U8 | H264,H265 | AAC | Completed |
4444
| SRT | H264,H265 | AAC | Completed |
45-
| WEBRTC | H264 | AAC | Processing |
45+
| WEBRTC | H264 | OPUS | Processing |
4646
| HTTP-FLV | H264 | AAC | Completed |
4747
| XStream | H264,H265 | AAC | Completed |
4848
| TS | H264,H265 | AAC | Completed |
@@ -61,12 +61,12 @@ Linux Exection:sudo ./XEngine_LINEnv.sh -i 3
6161
Macos Exection:./XEngine_LINEnv.sh -i 3
6262

6363
#### Windows
64-
use vs open and complie
65-
64+
use vs open and complie,you need to install vcpkg and install depend library by vcpkg
65+
vcpkg.exe install libsrt:x86-windows libsrt:x64-windows libsrtp:x86-windows libsrtp:x64-windows
6666
#### Linux
6767
install srt library after Configure Xengine to Completed
68-
ubuntu:sudo apt install libsrt-openssl-dev
69-
Rockylinux:sudo dnf install srt-devel
68+
ubuntu:sudo apt install libsrt-openssl-dev libsrtp2-dev
69+
Rockylinux:sudo dnf install srt-devel srtp2-devel
7070

7171
Linux use Makefile complie
7272
UBUNTU22.04 x64 or RockyLinux 9 x64
@@ -79,7 +79,7 @@ make FLAGS=CleanAll Clear Complie
7979

8080
#### MacOS
8181
install srt library after Configure Xengine to Completed
82-
brew install libsrt
82+
brew install libsrt srtp
8383
Linux use Makefile to complie,terminal exection,Requires mac 13 and above
8484

8585
##### Compile Command

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ c c++ streammedia server
3232
| -------- | --------- | -------- | -------- |
3333
| RTMP | H264 | AAC | 已完成 |
3434
| SRT | H264,H265 | AAC | 已完成 |
35-
| WEBRTC | H264 | AAC | 未开始 |
35+
| WEBRTC | H264 | OPUS | 未开始 |
3636
| GB28181 | H264 | AAC | 未开始 |
3737
| JT1078 | H264 | AAC | 已完成 |
3838
| XStream | H264,H265 | AAC | 已完成 |
@@ -45,7 +45,7 @@ c c++ streammedia server
4545
| RTSP | H264 | AAC | 已完成 |
4646
| M3U8 | H264,H265 | AAC | 已完成 |
4747
| SRT | H264,H265 | AAC | 已完成 |
48-
| WEBRTC | H264 | AAC | 进行中 |
48+
| WEBRTC | H264 | OPUS | 进行中 |
4949
| HTTP-FLV | H264 | AAC | 已完成 |
5050
| XStream | H264,H265 | AAC | 已完成 |
5151
| TS | H264,H265 | AAC | 已完成 |
@@ -69,12 +69,12 @@ macos执行:./XEngine_LINEnv.sh -i 3
6969

7070
使用VS打开并且编译,你需要优先配置XEngine环境才能使用
7171
还需要libsrt库,通过vcpkg安装
72-
vcpkg.exe install libsrt:x86-windows libsrt:x64-windows
72+
vcpkg.exe install libsrt:x86-windows libsrt:x64-windows libsrtp:x86-windows libsrtp:x64-windows
7373

7474
#### Linux
7575
配置完XEngine后需要安装srt库
76-
ubuntu:sudo apt install libsrt-openssl-dev
77-
Rockylinux:sudo dnf install srt-devel
76+
ubuntu:sudo apt install libsrt-openssl-dev libsrtp2-dev
77+
Rockylinux:sudo dnf install srt-devel srtp2-devel
7878

7979
Linux使用Makefile编译
8080
UBUNTU22.04 或者 RockyLinux 9 x64均可
@@ -88,13 +88,16 @@ make FLAGS=CleanAll 清理编译
8888

8989
#### MacOS
9090
配置完XEngine后需要安装srt库
91-
brew install libsrt
91+
brew install libsrt srtp
9292
使用makefile编译,控制台运行,需要mac 13以及以上版本
9393

9494
###### 编译命令
9595

9696
参考Linux
9797

98+
## 视频教程
99+
你也可以观看视频教程来了解我们的代码框架情况:https://www.bilibili.com/video/BV17F4m1M7Ph
100+
98101
## 使用说明
99102

100103
1. 切换到MASTER分支

SECURITY.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Use this section to tell people about which versions of your project are
6+
currently being supported with security updates.
7+
8+
| Version | Supported |
9+
| ------- | ------------------ |
10+
| 2.6.x | :white_check_mark: |
11+
| < 2.6 | :x: |
12+
13+
## Reporting a Vulnerability
14+
15+
Use this section to tell people how to report a vulnerability.
16+
17+
Tell them where to go, how often they can expect to get an update on a
18+
reported vulnerability, what to expect if the vulnerability is accepted or
19+
declined, etc.

XEngine_Docment/Docment_en.docx

6 Bytes
Binary file not shown.

XEngine_Docment/Docment_zh.docx

115 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)