Closed realuptime closed 9 months ago
I'll need to test more but the following should work diff --git a/code/wrapper_lib/screamtx_plugin_wrapper.cpp b/code/wrapper_lib/screamtx_plugin_wrapper.cpp index 8b0a547..af91ad6 100644 --- a/code/wrapper_lib/screamtx_plugin_wrapper.cpp +++ b/code/wrapper_lib/screamtx_plugin_wrapper.cpp @@ -192,7 +192,9 @@ void transmitRtpThread(void arg) { pthread_mutex_lock(&stream->lock_rtp_queue); stream->rtpQueue->pop(&buf, size, ssrc, seqNr, isMark); pthread_mutex_unlock(&stream->lock_rtp_queue);
Pushed the fix.
Maybe some thread locking around the RtpQeue in ScreamTx (one thread inserting, another clearing).