Loading
Bug 1592539 - Make MediaStreamRenderer always apply its FirstFrameVideoOutput. r=jib,karlt
The first-frame output used to only be applied when not rendering the MediaStream, and the regular video output was applied when rendering. The difference with this patch is when rendering -- both the first-frame and the regular outputs are applied at the same time. The former allows one frame to go through to the VideoFrameContainer, then the regular output takes over and lets any frames through. Nothing in how frames are rendered should be noticable by users. This allows for simpler logic for resolving the visual clone target promise in a future patch, as we won't have to track the first frame in different outputs depending on the rendering state. Differential Revision: https://phabricator.services.mozilla.com/D87138