Coder Social home page Coder Social logo

Comments (4)

winlinvip avatar winlinvip commented on June 11, 2024

只支持Linux服务器,以及macOS/Darwin开发环境。

from state-threads.

Awin-G avatar Awin-G commented on June 11, 2024

安卓可以在termux上编译,但是过程很痛苦,会提示安装很多东西

  1. 并且不支持ffmpeg-fit,
  2. log相关的东西全部去掉,因为__android_那啥啥_log的玩意后面编译的时候基本全文报错。
  3. 要使用系统的openssl,否则会报一个无法对整形进行二进制操作的错误,用const解决后又来一个什么long的大小问题,完了还有一个bind函数参数又怎么怎么了,我直接放弃了,这应该是c++标准定义不一样的原因,管他的,直接用系统自带的...(实在是搞不懂那个)
  4. 安装tclsh的时候在安卓7以下的termux版本需要从源码安装tcl,以上直接安装tcl,其中硬链接会报错,用表格把报错输出的几百个失败连接手动做成软连接指令执行然后就可以继续了
  5. make的时候推荐多线程
  6. make会报一个execinfo.h不存在的问题,到termux-package里面找到libandroid-execinfo,把那个cpp拷贝到报错文件同目录下,直接把报错文件里面的include 《execinfo。h》改成execinfo.cpp(termux的那个execinfo.h有问题,有些东西没有定义)
  7. 然后可以看到好几百给警告但是可以编译完而且可以运行!
屏幕截图 2024-02-16 130458 屏幕截图 2024-02-16 130620 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (真的是安卓)

from state-threads.

Awin-G avatar Awin-G commented on June 11, 2024
屏幕截图 2024-02-16 131355 丝滑,但是不完全。 在荣耀畅玩5A上测试,emui4.1.3,安卓6.0, termux使用0.79版本,推流使用easyRTMP

from state-threads.

winlinvip avatar winlinvip commented on June 11, 2024

可以考虑直接从SRS的ARM的docker中,把二进制直接拷贝出来,应该是能用的。

或者在ubuntu上交叉编译。参考相关文档。

from state-threads.

Related Issues (20)

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.