Closed adrian-j-programmer closed 1 year ago
One clarification from our side on this issue - we only test our app in multiplayer client mode, never in standalone. This might have an effect on this issue.
@adrian-j-programmer, @maximeLong, is this regular OBS via RTMP or OBS-WebRTC?
It's OBS-WebRTC
I was able to track down the source of this issue to an implementation detail in our integration of the plugin. The crux here is that a millicast media track allows the same consumer to be added multiple times. This should not be allowed, as there is no benefit to allowing this behavior. Especially now when video consumers are getting lost at random, the hack workaround for this being readding the consumer to the track can easily lead to falling into this memory leak trap.
Hi,
Here's the repro steps for the memory leak that leads to a crash:
Cheers, Adrian Jakubiak, Game Director, Odyssey