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.94k stars 598 forks source link

After starting webrtc streamer and running for several hours or a day, the process stops automatically in case of an error ((h264\u decoder\u impl.cc:301): avcodec_ receive_ Frame error: - 11 and (videodecoder. H: 70): videodecoder:: decoderthread failure: - 1), find the solution #501

Open hzl1015 opened 2 years ago

hzl1015 commented 2 years ago

Describe the bug I'm sorry to ask you. I started webrtc streamer to run for a few hours or a day. When I encountered an error, the process stopped automatically for some reason. Please answer

To Reproduce Steps to reproduce the behavior:

  1. installation

  2. Start with command:/ Webrtc streamer -h0.0.0.0:8999 - User Name: password @ penetration service ip: port -s penetration service ip: port >webrtcplog&

  3. After successful startup: http listen at 0.0.0.0:8999

  4. Access the video stream and everything is normal

  5. after a day or so, the process stopped inexplicably. Error: [843:383][176721] (h264_decoder_impl.cc:301): avcodec_receive_frame error: -11 [843:383][176721] (VideoDecoder.h:70): VideoDecoder::DecoderThread failure:-1

Expected behavior It is hoped that after the process is started, if it is not stopped artificially, the process will continue

Screenshots error

Desktop (please complete the following information):

Additional context If you want to use webrtc streamer to play RTSP video in Linux environment, the process can run normally after running webrtc streamer error