EricssonResearch / scream

SCReAM - Mobile optimised congestion control algorithm
BSD 2-Clause "Simplified" License
174 stars 53 forks source link

Synchronize push and pop in the RtpQueue #59

Closed J-Binieda-ericsson closed 2 months ago

J-Binieda-ericsson commented 2 months ago

We are currently having problem with your SCREAM application. Our application is using your scream application in the background and runs a lot of parallel streams. It crashes when scream application calls clear() on the queue and our code executes pop() at the same time (same as in scream_sender.cpp). To resolve the issue we would like to add a small patch applied on RtpQueue that adds mutexes on pop() and push() operations.