mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
2.8k stars 581 forks source link

Configuring Huawei's camera system collapsed directly #607

Open handsometong opened 11 months ago

handsometong commented 11 months ago

华为的摄像头配置多slice编码,无法播放监控流会导致系统直接闪退,关闭多slice编码可以正常使用

image image
mpromonet commented 11 months ago

Hi @handsometong

Using a debugger will help you to find the cause of exception that is raised.

Best Regards, Michel.

handsometong commented 11 months ago

The Huawei camera system crashes directly。Program log message see below screemshot.

image
mpromonet commented 11 months ago

Hi @handsometong,

Then parsing string is too weak for your camera, a debugger will help you to localize your problem. Increasing log may also help you.

Best Regards, Michel.

handsometong commented 11 months ago

I call api( /api/log?level=0) and got new program log message below screemshot.How do I fix this bug and can you help me?

image
mpromonet commented 11 months ago

Hi @handsometong

I guess running in a debugger like gdb will help you.

Best Regards, Michel.