Closed xuanwochutian closed 1 year ago
3.0-b0, why choose this version, there are release versions.
TRANS_BY_GPT3
Just tried version 4.0.177 and encountered the same error.
The log of SRS is as follows: [2021-10-27 10:35:13.203][Trace][19599][5dkz6c80][MAIN] SRS/4.0.177(Leo), MIT [2021-10-27 10:35:13.204][Trace][19599][5dkz6c80] authors: https://github.com/ossrs/srs/blob/4.0release/trunk/AUTHORS.txt [2021-10-27 10:35:13.204][Trace][19599][5dkz6c80] contributors: Winlinwinlin@vip.126.com Winlinwinterserver@126.com Winlinchengli.ycl@alibaba-inc.com Wenjiezhaowenjie@tal.com Wenjie740936897@qq.com Wenjiewenjie.zhao@chinacache.com xiangcheng.liuliuxc0116@foxmail.com naijia.liuyoungcow@youngcow.net alcoholyialcoholyi@qq.com bytemanwangchen2011@gmail.com chad.wangchad.wang.cn@gmail.com suhetaosuhetao@gmail.com Johnnyfengjihu@163.com karthikeyankeyanmca@gmail.com StevenLiulq@chinaffmpeg.org zhengflzhengfl_1989@126.com tufang14breadbean1449@gmail.com allspaceallspace@gmail.com niesongsongnie950@gmail.com rudeb0tnimrod@themanxgroup.tw CallMeNPnp.liamg@gmail.com synotesynote@qq.com lovecatlittlefawn@163.com panda1986542638787@qq.com YueHonghuihongf.yue@hotmail.com ThomasDreibholzdreibh@simula.no JuntaoLiujuntliu@gmail.com RocFangfangpeng1986@gmail.com MakarovYaroslavyaroslav.makarov.97@mail.ru MirkoVelicmvelic@inoxx.net HuiZhang(huzhang2)huzhang2@cisco.com OtterWasimpleotter23@gmail.com walkermi172192667@qq.com haofzfuzhuang.hao@vhall.com ME_Kun_Hanhanvskun@hotmail.com ljx0305ljx0305@gmail.com cenxinweicenshanhe@163.com StarBrilliantm13253@hotmail.com xubinxubin@chnvideo.com intliangyintiliang@gmail.com flowerwrongsysuyangkang@gmail.com YLX568414379@qq.com Jguotaojiang@qq.com Harlanhailiang@gvrcraft.com hankunhankun@bravovcloud.com JonathanBarrattjonathan.barratt@gmail.com KeeganHkeeganwharris@gmail.com StevenLiulingjiujianke@gmail.com liuxc0116liuxc0116@gmail.com ChengdongZhanglmajzcd@sina.com lovacatlovecat@china.sina.com qiang.liqiang.li@verycdn.com.cn HungMingWuu9089000@gmail.com Himerxishizhaohua@qq.com XiaLixinxialixin@kanzhun.com XiaLixin68469352@qq.com XiaLixinxlx0625@163.com XiaLixinxialx@yuntongxun.com alphonsetaityh_123@163.com Michael.Mawnpllr@gmail.com lam2003linmin3@yy.com ShiWeishiwei05@kuaishou.com ShiWeishi.weibd@hotmail.com XiaofengWangwasphin@gmail.com XiaoZhihonghondaxiao@tencent.com XiaoZhihongxiaozhihong8@gmail.com XiaoZhihongxiaozhihong@huya.com yanghuiwencainiaodj@qq.com WuPengqiang309554135@qq.com WuPengqiangpengqiang.wpq@alibaba-inc.com l22312935+lam2003@github xfalconx-falcon@github ChenGuanghuajinxue.cgh@alibaba-inc.com ChenGuanghuachengh_math@126.com LiPengmozhan.lp@alibaba-inc.com LiPenglipeng19811218@gmail.com yajun18yajun18@staff.sina.com.cn liulichuanliulichuan@kuaishou.com yapingcatcaoyapingneu@163.com chenchengbinchenchengbin@yy.com ChenHaibo495810242@qq.com ChenHaibonmgchenhaibo@foxmail.com jasongwqjasongwq@gmail.com yinjiaoyuanyinjiaoyuan@163.com PieerePipihuibin@hotmail.com JesseXijesse.jinjin@wo.cn PieerePi40780488+PieerePi@github ghostsfghost_sf@163.com xbpeng12153243357+xbpeng121@github johzzyhellojinqiang@gmail.com stonebluestn@163.com cfw1134058899+cfw11@github Hung-YiChengaod.chen@gmail.com longliyalong12345@126.com matthew183877285055+matthew1838@github riserise.worlds@outlook.com [2021-10-27 10:35:13.204][Trace][19599][5dkz6c80] cwd=/home/video/srs-server-4.0.177/trunk, work_dir=./, build: 2021-10-27 10:31:58, configure: --x86-x64, uname: Linux localhost.localdomain 4.18.0-305.10.2.el7.aarch64 #1 SMP Fri Jul 23 21:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux, osx: 0 [2021-10-27 10:35:13.204][Trace][19599][5dkz6c80] configure detail: --prefix=/usr/local/srs --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-caster=on --http-api=on --utest=off --cherrypy=off --srt=off --rtc=on --simulator=off --cxx11=off --cxx14=off --ffmpeg-fit=on --nasm=on --srtp-nasm=on --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=off --shared-ffmpeg=off --log-verbose=off --log-info=off --log-trace=on --gcov=off --debug=off --debug-stats=off --cross-build=off --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib [2021-10-27 10:35:13.204][Trace][19599][5dkz6c80] srs checking config... [2021-10-27 10:35:13.207][Warn][19599][5dkz6c80][22] retrieve local ips, getifaddrs failed. [2021-10-27 10:35:13.209][Error][19599][5dkz6c80][22] Failed, code=1023 : check config : check normal : invalid stats.network=0 of 0 thread [19599][5dkz6c80]: do_main() [src/main/srs_main_server.cpp:181][errno=22] thread [19599][5dkz6c80]: check_config() [src/app/srs_app_config.cpp:2406][errno=22] thread [19599][5dkz6c80]: check_normal_config() [src/app/srs_app_config.cpp:2571][errno=22](Invalid argument)
The configuration is as follows:
listen 1935; max_connections 1000;
daemon on; http_api { enabled on; listen 1985; } http_server { enabled on; listen 8080; dir ./objs/nginx/html; } rtc_server { enabled on; listen 8000;
candidate $CANDIDATE;
} vhost defaultVhost { hls { enabled on; } http_remux { enabled on; mount [vhost]/[app]/[stream].flv; } rtc { enabled on;
rtmp_to_rtc off;
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
rtc_to_rtmp off;
}
}
TRANS_BY_GPT3
[2021-10-27 10:35:13.207][Warn][19599][5dkz6c80][22] retrieve local ips, getifaddrs failed.
Do you not have a network card in this system?
TRANS_BY_GPT3
There is a network card. Network Card Information 0e:00.0 Signal processing controller: Huawei Technologies Co., Ltd. iBMA Virtual Network Adapter (rev 01) 7d:00.0 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE RDMA Network Controller (rev 21) 7d:00.1 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE Network Controller (rev 21) 7d:00.2 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE RDMA Network Controller (rev 21) 7d:00.3 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE Network Controller (rev 21) 7d:00.4 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE Network Controller (rev 21) 7d:00.5 Ethernet controller: Huawei Technologies Co., Ltd. HNS GE/10GE/25GE RDMA Network Controller (rev 21) The following information is expected to be useful. CPU Detailed Information processor : 0 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 1 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 2 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 3 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 4 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 5 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 6 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 7 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 8 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 9 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 10 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 11 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 12 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 13 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 14 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 15 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 16 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 17 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 18 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 19 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 20 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 21 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 22 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0
processor : 23 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs CPU implementer : 0x48 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd01 CPU revision : 0 Linux Kernel Version Linux version 4.18.0-305.10.2.el7.aarch64 (mockbuild@aarch64-02.bsys.centos.org) (gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)) #1 SMP Fri Jul 23 21:19:40 UTC 2021 Linux System Version CentOS Linux release 7.9.2009 (AltArch) Linux System Architecture aarch64 Exagear Virtual System Version CentOS Linux release 7.9.2009 (Core) Exagear Virtual System Architecture x86_64
TRANS_BY_GPT3
Can't replay.
Description Failed to start SRS using Exagear virtual machine under ARM architecture - x86 environment.
1. Version:
v3.0-b0
listen 1935; max_connections 1000; srs_log_tank console; srs_log_file ./objs/srs.log; daemon off; http_api { enabled on; listen 1985; } http_server { enabled on; listen 8080; dir ./html; }
stats { network 0; disk sda sdb xvda xvdb; }
vhost defaultVhost { http_remux { enabled on; mount [vhost]/[app]/[stream].flv; hstrs on; }