Skip to content

rtmp2: Replace stats queue with stats lock

Making the thread receiving the stats wait on the loop to respond was not a good idea, as the latter can get blocked on the streaming thread.

Have get_stats read the values directly, adding a lock to ensure we don't read garbage.

Merge request reports

Loading