GithubHelp home page GithubHelp logo

tsingsee / easyrtmp Goto Github PK

View Code? Open in Web Editor NEW
694.0 53.0 240.0 56.95 MB

EasyRTMP是一套调用简单、功能完善、运行高效稳定的RTMP功能组件,经过多年实战和线上运行打造,支持RTMP推送断线重连、环形缓冲、智能丢帧、网络事件回调,支持Windows、Linux、arm(hisiv100/hisiv200/hisiv300/hisiv400/hisiv500/hisiv600/etc..)、Android、iOS平台,支持市面上绝大部分的RTMP流媒体服务器,包括Wowza、Red5、ngnix_rtmp、crtmpserver等主流RTMP服务器,能够完美应用于各种行业的直播需求,手机直播、桌面直播、摄像机直播、课堂直播等等方面! Android版本地址:https://github.com/EasyDSS/EasyRTMP-Android iOS地址:https://github.com/EasyDSS/EasyRTMP-iOS

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

C 96.83% C++ 2.18% Shell 0.23% Makefile 0.76% NASL 0.01%
rtmp-push easyrtmp easydarwin android-rtmp arm-rtmp ios-rtmp rtmp

easyrtmp's Issues

EasyRTMP推流过程概率性崩溃

11-30 09:28:15.613 1828 1828 F art : art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI GetObjectClass called with pending exception 'java.lang.StackOverflowError' thrown in void android.os.MessageQueue.nativePollOnce(long, int):-2
11-30 09:28:15.613 1828 1828 F art : art/runtime/check_jni.cc:65] in call to GetObjectClass
11-30 09:28:15.613 1828 1828 F art : art/runtime/check_jni.cc:65] from void android.os.MessageQueue.nativePollOnce(long, int)
11-30 09:28:15.613 1828 1828 F art : art/runtime/check_jni.cc:65] "main" prio=5 tid=1 Runnable
11-30 09:28:15.613 1828 1828 F art : art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x7285d000 self=0xb760c4a0
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] | sysTid=1828 nice=0 cgrp=default sched=0/0 handle=0xb6fb3bec
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] | state=R schedstat=( 127301785518 30307010498 276105 ) utm=11164 stm=1566 core=2 HZ=100
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] | stack=0xbe75f000-0xbe761000 stackSize=8MB
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #00 pc 00004e64 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #1 pc 00003665 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #2 pc 00256ba1 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits >&, int, char const*, art::mirror::ArtMethod*)+84)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #3 pc 00238fdf /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits >&) const+158)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #4 pc 000b0fdb /system/lib/libart.so (art::JniAbort(char const*, char const*)+610)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #5 pc 000b1715 /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+68)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #6 pc 000b49cf /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1346)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #7 pc 000b6d2d /system/lib/libart.so (art::CheckJNI::GetObjectClass(_JNIEnv*, _jobject*)+28)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #8 pc 00006db1 /data/app/org.easydarwin.easyrtmp-2/lib/arm/libeasyrtmp.so (jni_callback(_jobject*, int)+40)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #9 pc 00006dff /data/app/org.easydarwin.easyrtmp-2/lib/arm/libeasyrtmp.so (__EasyRTMP_Callback(int, char*, __EASY_RTMP_STATE_T, void*)+10)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #10 pc 00008bf8 /data/app/org.easydarwin.easyrtmp-2/lib/arm/libeasyrtmp.so (__PushProcThread(void*)+592)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #11 pc 0001659b /system/lib/libc.so (__pthread_start(void*)+30)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] native: #12 pc 000144c3 /system/lib/libc.so (__start_thread+6)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at android.os.MessageQueue.nativePollOnce(Native method)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at android.os.MessageQueue.next(MessageQueue.java:143)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at android.os.Looper.loop(Looper.java:122)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at android.app.ActivityThread.main(ActivityThread.java:5280)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at java.lang.reflect.Method.invoke!(Native method)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at java.lang.reflect.Method.invoke(Method.java:372)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
11-30 09:28:15.614 1828 1828 F art : art/runtime/check_jni.cc:65]
从log来看,是本底层报了的错误。麻烦尽快修复。^-^

拜托上点心吧,连demo都跑不通

./Buildit: line 43: cd: EasyRTMP_File: No such file or directory
make: nbproject/Makefile-x64.mk: No such file or directory
make: *** No rule to make target `nbproject/Makefile-x64.mk'. Stop.

Mac系统 执行./Buildit rtsp x64 报错

"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -f nbproject/Makefile-x64.mk x64/easyrtmp_rtsp
mkdir -p x64
g++ -o x64/easyrtmp_rtsp build/x64/GNU-Linux/getopt.o build/x64/GNU-Linux/main.o -L../Lib/x64 -LlibEasyRTSPClient/Lib/x64 -L../Lib/EasyAACEncloder/x64 -leasyrtmp -leasyrtspclient -leasyaacencoder -pthread -lrt
clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
ld: warning: directory not found for option '-L../Lib/EasyAACEncloder/x64'
ld: library not found for -leasyaacencoder
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [x64/easyrtmp_rtsp] Error 1
make: *** [.build-conf] Error 2

问题

后台录制,推流就停止了,是什么原因那

关于libeasyrtmp.a与libeasypusher.a库冲突

博主,我想将视频文件同时发布为rtsp和rtmp推送各自服务器上,发现调用的这两个库会冲突,提示在函数‘_TRACE_OpenLogFile’中‘fLog’有重复定义,请问一下这个问题你们有测试过吗?能不能解决一下?

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.