1 Star 1 Fork 0

xengine / XEngine_StreamMedia

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.en.md

中文 || English

XEngine_StreamMedia

This repository has a development and master branch. If you want to use it, please use the master branch
As long as the repository is not in suspended state, we will maintain and develop it all the time, please use it with confidence

Introduction

c c++ 流媒体服务器
c c++ streammedia server
This is a streaming media server that supports multiple streaming protocols. It supports push and pull stream, and supports streaming media servers of various standards protocols It can also be used as a frame extraction service and transcoding service
This is a cross-platform server, provides a complete demo code

Software feature

A set of concise and high-performance cross-platform streaming media analysis and push streaming services developed and implemented based on libXEngine

Push stream Protocol:

  1. RTMP(H264,H265,AAC)
  2. XStream
  3. SRT
  4. JT1078(planning)
  5. GB28181(planning)
  6. WEBRTC(planning)

Pull Stream Protocols:

  1. srt
  2. RTMP(H264,H265,AAC)
  3. FLV(H264,H265,AAC)
  4. XStream
  5. HLS(TS)(planning)
  6. webrtc(planning)
  7. RTSP(planning)

feature:

  1. Support voice intercom(planning)
  2. Support video transcoding(planning)
  3. Support frame extraction(planning)
  4. Support Re-push stream
  5. Support Transparent transmission(planning)
  6. Support HTTP API Management interface
  7. Support HTTP HOOK(planning)

install

XEngine environment

you have to install xengine before complie,You can refer to its Readme document
GITEE:https://gitee.com/xyry/libxengine
GITHUB:https://github.com/libxengine/xengine

fast to deployment

git clone https://gitee.com/xyry/libxengine.git or git clone https://github.com/libxengine/xengine.git
window Exection XEngine_WINEnv.bat
Linux Exection:sudo ./XEngine_LINEnv.sh -i 3
Macos Exection:./XEngine_LINEnv.sh -i 3

Windows

use vs open and complie

Linux

install srt library after Configure Xengine to Completed
ubuntu:sudo apt install libsrt-openssl-dev
Rockylinux:sudo dnf install srt-devel

Linux use Makefile complie
UBUNTU22.04 x64 or RockyLinux 9 x64

Compile Command

execute command in XEngine_Source path
make complie
make FLAGS=InstallAll Install File
make FLAGS=CleanAll Clear Complie

MacOS

install srt library after Configure Xengine to Completed
ubuntu:sudo brew install libsrt
Linux use Makefile to complie,terminal exection,Requires mac 13 and above

Compile Command

refer to linux

Use

  1. Switch to the MASTER branch
  2. download code
  3. complie
  4. install
  5. run XEngine_StreamMediaApp,linux can be set parament -d 1 command
  6. use obs push stream
  7. use vlc play

example

publish Stream

rtmp://127.0.0.1/live/qyt   srt://127.0.0.1:5603?streamid=#!::h=live/qyt,m=publish
xstream://127.0.0.1:5601(refer example)

Pull Stream

http://127.0.0.1:5600/api?stream=play&sms=live/qyt&type=flv(http-flv)
rtmp://127.0.0.1/live/qyt   srt://127.0.0.1:5603?streamid=#!::r=live/qyt,m=request
xstream://127.0.0.1:5601?api?stream=play&sms=live/qyt&type=xstream(http-xstream)

Management HTTP API

http://127.0.0.1:5600/api?function=publish&method=get
http://127.0.0.1:5600/api?function=pull&method=get

Dir Struct

  • XEngine_Docment Docment Dir Struct
  • XEngine_Release Install Dir Struct
  • XEngine_Source Source Dir
  • XEngine_APPClient Client Example Code

Participate in contribution

  1. Fork this code
  2. Create new Feat_xxx branch
  3. Submit the code
  4. New Pull Request

Follow us

If you think this software is helpful to you, please give us a START

post issues

if you have eny quest.post issues...

About

xengine 流媒体服务器 c c++ streammedia server 开源免费的流媒体服务器 expand collapse
C/C++ and 4 more languages
MIT
Cancel

Contributors

All

Activities

Load More
can not load any more
C/C++
1
https://gitee.com/xengine/XEngine_StreamMedia.git
git@gitee.com:xengine/XEngine_StreamMedia.git
xengine
XEngine_StreamMedia
XEngine_StreamMedia
develop

Search