Git Product home page Git Product logo

mediago_bin's Introduction

mediago是基于quicgo开发的rtmp over quic的服务,笔者暂时没有时间维护,项目暂停。
当前库仅仅供测试使用,暂时不再维护。
2020.03.01

mediago

1. 什么是mediago

quic是基于udp的下一代高质量传输协议。mediago用quic协议来传输rtmp直播流。
mediago在实现普通rtmp over tcp的基础上,同时实现rtmp over quic的服务,提供弱网环境下/高RTT等网络环境下的流媒体服务。

2. 什么应用场景适合rtmp over quic

什么应用场景适合rtmp over quic。这要基于quic传输优点:

  • connect连接建立的低延时
  • 灵活的拥塞控制
  • 无头部阻塞的多路复用(TCP是有头部阻塞的)
  • 对头部和负载进行认证和加密
  • 流和连接的流控
  • 连接迁移

笔者总结常用场景:

  • 网络丢包率高
    网络带宽足够,但是网络质量差,容易丢包,容易连接断开。
    因为quic有0RTT快速连接的能力,丢包重传中ACK回复的block大,能容忍碎片丢包等特性,比传统TCP好很多。
  • 长距离传输
    网络传输RTT比较高,quic在连接断开后的重连是0RTT,高效传输数据。

3. 如何使用mediago

mediago非常适合做弱网环境直播,或跨国长距离直播。

3.1 mediago支持功能简介:

  • rtmp over tcp推拉流
  • rtmp over quic推拉流
  • httpflv over tcp
  • http over quic
  • 基于tcp服务器间回源
  • 基于quic服务器间回源

3.2 运行环境

linux:笔者在centos上使用

3.3 wiki文档

wiki: 使用说明

3.4 quic协议翻译

quic协议翻译精选

mediago_bin's People

Contributors

runner365 avatar

Watchers

 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.