开发者社区 问答 正文

推流sdk报status error current state is INIT错误是怎么回事?

预览开始后,调用mAlivcLivePusher.startPushAysnc(URL) 开始推流, 控制台会报
JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception java.lang.IllegalStateException: status error current state is INIT错误

把这一句放到try-catch中执行,则不会报出上边这个错误,可以正常推流,但是流媒体服务器接收不到数据

展开
收起
傲娇的鲤鱼 2018-09-12 16:39:01 5513 分享 版权
1 条回答
写回答
取消 提交回答