kclyu / rpi-webrtc-streamer

This repo's objective is providing something like Web Cam server on the most popular Raspberry PI hardware. By integrating [WebRTC](https://webrtc.org/native-code/) and Raspberry PI, we can stream the Raspberry camera feed to browser or native client which talks WebRTC.
Other
617 stars 108 forks source link

webrtc_streamer crashes at higher bitrates #127

Open rbakx opened 3 years ago

rbakx commented 3 years ago

dear Lyu, I really like your WebRTC streamer, great work! I seem to have an issue similar to https://github.com/kclyu/rpi-webrtc-streamer/issues/37. The error message when running sudo /opt/rws/webrtc-streamer –verbose: [009:295] [22219] (mmal_wrapper.cc:150): frame_buf_pos : 196657, buffer length: 11943

Fatal error in: mmal_wrapper.cc, line 153

last system error: 0

Check failed: (int)(frame_bufpos + buffer->length) < size_

Aborted

When I install the version with the increased MMAL buffer size the issue seems to be solved. So my question is, is this fix removed later on, as I get the error with https://github.com/kclyu/rpi-webrtc-streamer-deb/blob/master/rws_0.74.1_armhf.deb. I have a Raspberry Pi 4 model B and a Pi Camera version 2. Friendly greetings from Rene Bakx, the Netherlands.