Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera: Error 2 #38

Open
zzxabc opened this issue Dec 26, 2019 · 0 comments
Open

Camera: Error 2 #38

zzxabc opened this issue Dec 26, 2019 · 0 comments

Comments

@zzxabc
Copy link

zzxabc commented Dec 26, 2019

When I use a VLC to connect to RTSP, the display is normal, but when I use a second VLC to connect, the first one will be stopped. The log is as follows:
2019-12-26 20:17:21.329 28836-31681/com.xzh.ipcamera I/RtspServer: Connection from 192.168.31.189
2019-12-26 20:17:21.331 28836-31681/com.xzh.ipcamera E/RtspServer: OPTIONS rtsp://192.168.31.29:8086/spydroid.sdp?id=0&h264=1000-20-480-320&flash=off&camera=front
2019-12-26 20:17:21.355 28836-31681/com.xzh.ipcamera E/RtspServer: DESCRIBE rtsp://192.168.31.29:8086/spydroid.sdp?id=0&h264=1000-20-480-320&flash=off&camera=front
2019-12-26 20:17:21.387 28836-31688/com.xzh.ipcamera E/VideoStream: zzx===>camera Id: 1
2019-12-26 20:17:21.382 28836-28836/com.xzh.ipcamera W/Thread-10: type=1400 audit(0.0:5278697): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=20798 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
2019-12-26 20:17:21.388 28836-31688/com.xzh.ipcamera E/libc: Access denied finding property "camera.hal1.packagelist"
2019-12-26 20:17:21.392 28836-28940/com.xzh.ipcamera E/Camera: Error 2
2019-12-26 20:17:21.392 28836-28940/com.xzh.ipcamera E/VideoStream: Error unknown with the camera: 2
2019-12-26 20:17:22.161 28836-31681/com.xzh.ipcamera E/RtspServer: SETUP 192.168.31.29:8086/trackID=1
2019-12-26 20:17:23.744 28836-31729/com.xzh.ipcamera I/OMXClient: Treble IOmx obtained
2019-12-26 20:17:23.751 28836-31729/com.xzh.ipcamera I/ExtendedACodec: setupVideoEncoder()
2019-12-26 20:17:23.753 28836-31729/com.xzh.ipcamera I/ACodec: setupAVCEncoderParameters with [profile: Main] [level: Level41]
2019-12-26 20:17:23.753 28836-31729/com.xzh.ipcamera I/ACodec: h264type nBFrames is 0, nAllowedPictureTypes is 3
2019-12-26 20:17:23.753 28836-31729/com.xzh.ipcamera I/ACodec: [OMX.google.h264.encoder] cannot encode color aspects. Ignoring.
2019-12-26 20:17:23.753 28836-31729/com.xzh.ipcamera I/ACodec: [OMX.google.h264.encoder] cannot encode HDR static metadata. Ignoring.
2019-12-26 20:17:23.753 28836-31729/com.xzh.ipcamera I/ACodec: setupVideoEncoder succeeded
2019-12-26 20:17:23.755 28836-31729/com.xzh.ipcamera W/ExtendedACodec: Failed to get extension for extradata parameter
2019-12-26 20:17:23.806 28836-31732/com.xzh.ipcamera I/MediaCodecInputStream: {max-bitrate=1000000, csd-1=java.nio.HeapByteBuffer[pos=0 lim=10 cap=10], mime=video/avc, width=416, bitrate=1000000, height=200, csd-0=java.nio.HeapByteBuffer[pos=0 lim=18 cap=18]}
2019-12-26 20:17:23.901 28836-31681/com.xzh.ipcamera E/RtspServer: PLAY 192.168.31.29:8086/
2019-12-26 20:17:31.900 28836-28939/com.xzh.ipcamera E/RtspServer: TEARDOWN 192.168.31.29:8086/
2019-12-26 20:17:31.962 28836-28939/com.xzh.ipcamera I/qtaguid: Untagging socket 62 failed errno=-22
2019-12-26 20:17:31.963 28836-28939/com.xzh.ipcamera I/RtspServer: Client disconnected
2019-12-26 20:17:45.618 28836-28843/com.xzh.ipcamera I/zygote64: Compiler allocated 6MB to compile void android.view.ViewRootImpl.performTraversals()
2019-12-26 20:18:11.658 28836-28843/com.xzh.ipcamera I/zygote64: Do full code cache collection, code=250KB, data=164KB
2019-12-26 20:18:11.659 28836-28843/com.xzh.ipcamera I/zygote64: After code cache collection, code=204KB, data=127KB
2019-12-26 20:18:21.924 28836-31681/com.xzh.ipcamera E/RtspServer: OPTIONS 192.168.31.29:8086/
2019-12-26 20:18:22.029 28836-31681/com.xzh.ipcamera E/RtspServer: TEARDOWN 192.168.31.29:8086/
2019-12-26 20:18:22.954 28836-31681/com.xzh.ipcamera I/qtaguid: Untagging socket 73 failed errno=-22
2019-12-26 20:18:22.955 28836-31681/com.xzh.ipcamera I/RtspServer: Client disconnected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant