bajicdusko / JavaCVWowzaStarterKit

Boilerplate for live streaming from android to Wowza via RTMP protocol.
18 stars 5 forks source link

crash in avio_open error #7

Open VapiSoft opened 5 years ago

VapiSoft commented 5 years ago

org.bytedeco.javacv.FrameRecorder$Exception: avio_open error() error -111: Could not open 'rtmp://client39984:01512b5b@70840a.entrypoint.cloud.wowza.com/app-d86c:1935/Sunglasses Demo/73099c30'

You can see that from the link, I am not sure about the: wowzaIp= I set to the: Primary Server host url And the wowzaApplicationName = The name of the stream = Sunglasses Demo I am not sure that this is the problem, or that I used the boilerplate as is and did not load the libraries as you wrote. The following is the full stack: 2019-02-28 23:52:13.466 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: org.bytedeco.javacv.FrameRecorder$Exception: avio_open error() error -111: Could not open 'rtmp://client39984:01512b5b@70840a.entrypoint.cloud.wowza.com/app-d86c:1935/Sunglasses Demo/73099c30' 2019-02-28 23:52:13.466 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at org.bytedeco.javacv.FFmpegFrameRecorder.startUnsafe(FFmpegFrameRecorder.java:700) 2019-02-28 23:52:13.467 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at org.bytedeco.javacv.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:294) 2019-02-28 23:52:13.467 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at com.bajicdusko.javacvwowzastarterkit.LiveBroadcastActivity.startRecording(LiveBroadcastActivity.java:316) 2019-02-28 23:52:13.467 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at com.bajicdusko.javacvwowzastarterkit.LiveBroadcastActivity.onRecordClick(LiveBroadcastActivity.java:162) 2019-02-28 23:52:13.467 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at com.bajicdusko.javacvwowzastarterkit.LiveBroadcastActivity_ViewBinding$2.doClick(LiveBroadcastActivity_ViewBinding.java:48) 2019-02-28 23:52:13.467 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22) 2019-02-28 23:52:13.468 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at android.view.View.performClick(View.java:6310) 2019-02-28 23:52:13.468 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at android.view.View$PerformClick.run(View.java:24970) 2019-02-28 23:52:13.468 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at android.os.Handler.handleCallback(Handler.java:790) 2019-02-28 23:52:13.468 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at android.os.Handler.dispatchMessage(Handler.java:99) 2019-02-28 23:52:13.468 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at android.os.Looper.loop(Looper.java:171) 2019-02-28 23:52:13.469 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6656) 2019-02-28 23:52:13.469 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2019-02-28 23:52:13.469 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) 2019-02-28 23:52:13.469 14498-14498/com.bajicdusko.javacvwowzastarterkit W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) 2019-02-28 23:52:13.473 14498-14498/com.bajicdusko.javacvwowzastarterkit I/Choreographer: Skipped 91 frames! The application may be doing too much work on its main thread. 2019-03-01 00:30:40.673 14498-14510/com.bajicdusko.javacvwowzastarterkit I/zygote: Background concurrent copying GC freed 23(32KB) AllocSpace objects, 20(11MB) LOS objects, 76% free, 3MB/15MB, paused 190us total 115.228ms