Giter Site home page Giter Site logo

bzyiostream / cpp_media_server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from runner365/cpp_media_server

0.0 0.0 0.0 77.53 MB

media server based on c++17, support webrtc/rtmp/httpflv/hls/websocket flv

License: MIT License

Shell 0.04% C++ 95.94% C 2.48% CMake 1.54%

cpp_media_server's Introduction

cpp media server

cpp media server是基于c++17开发的webrtc会议服务sfu.

支持跨平台(linux/mac),支持./build.sh一键编译。

1. 支持特性

1.1 webrtc相关特性

  • 房间管理服务

  • websocket长连接接入

  • 加入/离开房间

  • 推流/停止推流

  • 拉流/停止拉流

  • 高性能webrtc转rtmp: 无转码

    高性能支持webrtc的旁路rtmp直播

  • 高性能rtmp转webrtc: 无转码

    高性能支持低延时直播,支持rtmp转为webrtc

划重点:为什么能支持高性能webrtc与rtmp的互转,因为支持opus/vp8 in flv,并提供自定义ffmpeg,见4.2.

1.2 直播相关特性

  • rtmp推拉流服务(支持h264/vp8+aac/opus in rtmp/flv)
  • httpflv拉流服务(支持h264/vp8+aac/opus in rtmp/flv)
  • hls录像服务(支持h264/vp8+aac/opus in mpegts)
  • webobs: websocket推送flv直播服务(webcodec编码,websocket flv推流封装)

2. 如何编译

如何编译

3. Wiki文档

3.1 配置指南

3.2 C++媒体模块

如何引用几个cpp/hpp文件,就能实现流媒体的封装

3.3 webrtc信令接口

4. 支持相关

4.1 webrtc client sdk

webrtc会议client sdk: webrtc client sdk

4.2 自定义ffmpeg

服务支持丰富的编码格式:

  • h264/vp8, aac/opus in flv
  • h264/vp8, aac/opus in hls

提供自定义的ffmpeg源码: my_ffmpeg

4.3 webcodec client sdk

基于webcodec的websocket flv推理: websocket推流sdk

cpp_media_server's People

Contributors

runner365 avatar sweibd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.