Comments (4)
只支持Linux服务器,以及macOS/Darwin开发环境。
from state-threads.
安卓可以在termux上编译,但是过程很痛苦,会提示安装很多东西
- 并且不支持ffmpeg-fit,
- log相关的东西全部去掉,因为__android_那啥啥_log的玩意后面编译的时候基本全文报错。
- 要使用系统的openssl,否则会报一个无法对整形进行二进制操作的错误,用const解决后又来一个什么long的大小问题,完了还有一个bind函数参数又怎么怎么了,我直接放弃了,这应该是c++标准定义不一样的原因,管他的,直接用系统自带的...(实在是搞不懂那个)
- 安装tclsh的时候在安卓7以下的termux版本需要从源码安装tcl,以上直接安装tcl,其中硬链接会报错,用表格把报错输出的几百个失败连接手动做成软连接指令执行然后就可以继续了
- make的时候推荐多线程
- make会报一个execinfo.h不存在的问题,到termux-package里面找到libandroid-execinfo,把那个cpp拷贝到报错文件同目录下,直接把报错文件里面的include 《execinfo。h》改成execinfo.cpp(termux的那个execinfo.h有问题,有些东西没有定义)
- 然后可以看到好几百给警告但是可以编译完而且可以运行!
from state-threads.
from state-threads.
可以考虑直接从SRS的ARM的docker中,把二进制直接拷贝出来,应该是能用的。
或者在ubuntu上交叉编译。参考相关文档。
from state-threads.
Related Issues (20)
- Support MSG_ZEROCOPY for streaming server. HOT 9
- UDP接收中文乱码 HOT 1
- Guide: Notes about code of state-threads. ST代码分析. HOT 4
- Performance improvement for st_usleep.
- Support Multiple Threads for Linux and Darwin only. HOT 4
- Cygwin: ST Support Windows 64bits HOT 2
- Support MIPS for OpenWRT HOT 1
- How to porting ST to other OS/CPU? 如何移植ST到其他系统或CPU?
- Support daemon(fork twice) for Darwin/OSX HOT 1
- Support Loongson CPU arch
- aosp中编译srs-server及libst报错 HOT 2
- 如何使st库支持多线程? HOT 1
- AppleM1: Support Apple Silicon M1(aarch64). HOT 1
- Add utest for threads and codes.
- About How to Support EPOLLET Issue in ST
- Plan: Migrate to C++98/MIT. 计划迁移到C++98/MIT.
- Support backtrace and backtrace_symbols
- 如果协程释放将内存也同时释放,为什么会崩溃 HOT 2
- 增加可以将协程内存释放的功能 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from state-threads.