Code Monkey home page Code Monkey logo

tsingsee / easyrtmpclient Goto Github PK

View Code? Open in Web Editor NEW
41.0 19.0 30.0 3.12 MB

Streaming media sdk tool:An elegant, simple, high performance & high compatibility RTMP Client Utility,can use in RTMP Player,CDN,RTMP Relay,EasyRTMPClient can run in any platform ,such as x68/x64/Windows/Linux/Android/iOS/arm etc..,with flexible interface,EasyRTMPClient can fit almost all network RTMP Server、CDN,very easy to use.简单、稳定、高效、易用的RTMPClient工具库,支持Windows、Linux、ARM、Android、iOS等几乎所有平台,支持断线重连,能够接入市面上99%以上的RTMP源(RTMP服务器、CDN),调用简单且成熟稳定!

Home Page: http://open.tsingsee.com/

Shell 1.82% C 58.31% Makefile 39.35% NASL 0.52%
rtmpclient librtmp rtmp-h265 easyrtmpclient easydss

easyrtmpclient's Introduction

EasyRTMPClient v3.0

EasyRTMPClient功能组件是TSINGSEE青犀开放平台开发和维护的一套非常稳定、易用、支持重连的RTMPClient工具,以SDK的形式提供,全平台支持(包括Windows/Linux 32&64,Android,iOS,ARM各平台),接口简单、兼容性强、且成熟稳定!

有了librtmp为什么还要做EasyRTMPClient?主要还是可集成的程度问题,EasyRTMPClient能清晰地回调出帧率、时间戳、首帧是否为I帧、ES数据流、能保存ES进行分析,一直都是围绕着“Easy”来进行架构和设计,能最接近现实项目中的应用需求,更重要的是EasyRTMPClient扩展了RTMP H.265支持!

调用示例

  • EasyRTMPClient:以RTMPClient的形式,从RTMP URL将音视频获取到本地;

    Windows编译方法,

      Visual Studio 2010 编译:./EasyRTMPClient/win/EasyRTMPClient.sln
    

    Linux编译方法,

      chmod +x ./Buildit
      ./Buildit
    

    Usage,

      --------------------------------------------------------------
      EasyRTMPClient.exe -d <rtmp-url>[ -s <save-file>]
      Help Mode:   EasyRTMPClient.exe -h
      rtmp-url : source rtmp address
      save-file : yes or no, default is yes
      For example: EasyRTMPClient.exe -d rtmp://live.hkstv.hk.lxdns.com/live/hks -s yes
      --------------------------------------------------------------
    
  • EasyPlayer-RTMP调用EasyPlayer-RTMP是由紫鲸团队开发和维护的一个RTMP专用播放器项目,目前支持Windows、Android平台、iOS平台,EasyRTMPClient作为其RTMP部分功能组件,为EasyPlayer-RTMP提供稳定可靠、高兼容性的数据连接;

调用流程

RTMPSourceCallBack数据回调说明

EasyRTMPClient可以回调出多种类型的数据:

#define EASY_SDK_VIDEO_FRAME_FLAG			/* 视频帧数据 */
#define EASY_SDK_AUDIO_FRAME_FLAG			/* 音频帧数据 */
#define EASY_SDK_EVENT_FRAME_FLAG			/* 事件帧数据 */
#define EASY_SDK_RTP_FRAME_FLAG				/* RTP帧数据 */
#define EASY_SDK_SDP_FRAME_FLAG				/* SDP帧数据 */
#define EASY_SDK_MEDIA_INFO_FLAG			/* 媒体类型数据 */

EASY_SDK_VIDEO_FRAME_FLAG数据可支持多种视频格式:

#define EASY_SDK_VIDEO_CODEC_H265			/* H265  */
#define EASY_SDK_VIDEO_CODEC_H264			/* H264  */

视频帧标识支持

#define EASY_SDK_VIDEO_FRAME_I				/* I帧 */
#define EASY_SDK_VIDEO_FRAME_P				/* P帧 */
#define EASY_SDK_VIDEO_FRAME_B				/* B帧 */
#define EASY_SDK_VIDEO_FRAME_J				/* JPEG */

EASY_SDK_AUDIO_FRAME_FLAG数据可支持多种音频格式:

#define EASY_SDK_AUDIO_CODEC_AAC			/* AAC */

技术支持

我们同时提供Windows、Linux、Android、iOS、ARM版本的EasyRTMPClient库:EasyRTMPClient SDK商业使用需要经过授权才能永久使用,商业授权方案可以通过以上渠道进行更深入的技术与合作咨询;

获取更多信息

TSINGSEE青犀开放平台:http://open.tsingsee.com

Copyright © TSINGSEE.com 2012~2020

easyrtmpclient's People

Contributors

babosa avatar caiyingyong avatar jinlong0813 avatar tracy-tang avatar tsingsee-seven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easyrtmpclient's Issues

Linux setup

Hi,

Please guide how can i build RTMP client on Linux.
Regards,
Fahad

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.