webrtc-streamer icon indicating copy to clipboard operation
webrtc-streamer copied to clipboard

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

Open hzl1015 opened this issue 3 years ago • 0 comments

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):

  • OS: [CentOS Linux release 7.8.2003 (Core)]
  • Browser [chrome:版本 101.0.4951.64(正式版本) (arm64)] -python3 [Python 3.6.8] -make [GNU Make 4.3] -gcc [gcc (GCC) 8.3.0] -glibc [ldd (GNU libc) 2.29]

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

hzl1015 avatar May 27 '22 02:05 hzl1015