问题描述
推流sdk android 版本 v4.4.1 推流报错
2022-09-22 13:58:47.496 24533-24805/com.alivc.live.pusher.demo W/CameraBase: An error occurred while connecting to camera 1: Status(-8): ’10: connectHelper:1456: Failed to initialize camera “1”: Function not implemented (-38)’
2022-09-22 13:58:47.497 24533-24805/com.alivc.live.pusher.demo W/System.err: java.lang.RuntimeException: Fail to connect to camera service
2022-09-22 13:58:47.497 24533-24805/com.alivc.live.pusher.demo W/System.err: at android.hardware.Camera.(Camera.java:625)
2022-09-22 13:58:47.498 24533-24805/com.alivc.live.pusher.demo W/System.err: at android.hardware.Camera.open(Camera.java:451)
2022-09-22 13:58:47.498 24533-24805/com.alivc.live.pusher.demo W/System.err: at com.alivc.component.capture.RtsVideoPusher.startPreview0(RtsVideoPusher.java:414)
2022-09-22 13:58:47.498 24533-24805/com.alivc.live.pusher.demo W/System.err: at com.alivc.component.capture.RtsVideoPusher.startInner(RtsVideoPusher.java:383)
2022-09-22 13:58:47.498 24533-24805/com.alivc.live.pusher.demo W/System.err: at com.alivc.component.capture.RtsVideoPusher.start(RtsVideoPusher.java:371)
2022-09-22 13:58:47.499 24533-24805/com.alivc.live.pusher.demo W/System.err: at com.alivc.component.capture.RtsVideoPusherJNI.start(RtsVideoPusherJNI.java:62)
期望结果
…
已尝试的方法
…