Giter Club home page Giter Club logo

smallhorselive's Introduction

小马直播间基于环信IM的聊天室Ucloud的直播云ULive实现:

音视频直播的两个专业术语:推流、拉流。

  • 推流:把视频流“推”送到服务器,也就是:视频录制;
  • 拉流:把视频流从服务器“拉”出来,也就是:视频播放;

**注意:**以上为个人理解,专业解释需要大家搜索百度或必应~!~

其次,做这个demo过程中有2个坑,小马都帮大家踩过了:

  • 环信 iOS HyphenateFullSDK(包含实时通话功能)与UCloud的直播云SDK会冲突,推流的时候直接导致视频“卡住”不动。所以只能集成环信HyphenateSDK (不包含实时通话功能);
  • UCloud官方明确表明直播云SDK最低支持IOS7.0,可是经小马实测,IOS7.0.4无法推流(但是拉流正常),被这个坑了4天,所以建议大家真机测试时,IOS系统版本至少要8.0以上。

如果没有安卓机做推流测试,大家可以用其它推流工具,墙裂推荐:https://www.qcloud.com/doc/api/258/4743

项目说明 《一言不合你就用环信搞个直播APP》http://community.easemob.com/article/825307904

注意: 由于Git不支持上传大于100MB的文件,所以项目源码中不包含 libHyphenateFullSDK.a 文件,需要自行去官网下载http://www.easemob.com/download/im ,然后拷贝到目录【/ChatSDK/HyphenateFullSDK/lib】才能正常运行。

smallhorselive's People

Contributors

mengmakies avatar

Watchers

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