Coder Social home page Coder Social logo

qianbo0423 / desert-eagle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangdxh/desert-eagle

0.0 1.0 0.0 95.04 MB

flv video http-flv http flv rtsp rtp over rtsp hls m3u8 ts boost asio webrtc ice dtls srtp

C++ 27.07% C 57.77% Objective-C 0.04% HTML 0.01% JavaScript 12.18% Batchfile 0.01% CMake 0.01% Python 2.91% Smarty 0.02%

desert-eagle's Introduction

文档

boost asio 实现http-flv rtsp hls流媒体服务器

实现简易webrtc 网关

Desert-Eagle

启动2个server,再启动client。

boost

使用了boost的asio模块,需要下载安装boost的dll

boost 二进制安装地址

配置头文件和lib库到vc的工程路径。

support

  • http-flv

  • rtsp,just rtp over rtsp

  • hls

test

http-flv

http-flv 使用flv.js进行浏览,启动webserver,默认有个链接

就是client推上来的流,直接点击链接浏览。

rtsp

use live555 test rtp over rtsp

test rtp over rtsp, 在 工具-> 首选项 -> 输入/编解码器  

live555流传输 选择 rtp over rtsp(tcp)

use this url :  rtsp://127.0.0.1/realplay?deviceid=123abcdef32153421 

hls

stream_hub 里面的这两个变量,设置了m3u8文件切片目录,以及ts文件的http前缀

m_m3u8_ts_directory = "D:\\github\\Desert-Eagle\\webserver\\static\\";
m_m3u8_ts_prefix = "http://172.16.64.92/static/"; 

http://172.16.64.92/static/123abcdef32153421.m3u8

m3u8文件的文件名称就是推流的时候,自定义的流名称。

使用vlc直接访问m3u8文件播放正常。 

待完成

  • 增加webrtc的服务器支持,进行单向码流转发
  • hls+

先研究下janus,在搞hls+吧

thisismaster

desert-eagle's People

Contributors

wangdxh avatar

Watchers

James Cloos 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.