This is very helpful. The log does seem to indicate that the video surface is being recreated 3 times between the instances of `_ZN15MenuBarInstance22EnsureAutoShowObserverEv` and `_ZN15MenuBarInstance22RemoveAutoShowObserverEv`. Each time, the layer is created as an AVSampleBufferDisplayLayer, which is good, but it should be getting recreated at all. I'll keep looking and see if I can determine what might be causing the layer to get wiped out.
Bug 1808155 Comment 21 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This is very helpful. The log does seem to indicate that the video surface is being recreated 3 times between the instances of `_ZN15MenuBarInstance22EnsureAutoShowObserverEv` and `_ZN15MenuBarInstance22RemoveAutoShowObserverEv`. Each time, the layer is created as an AVSampleBufferDisplayLayer, which is good, but it should not be getting recreated at all. I'll keep looking and see if I can determine what might be causing the layer to get wiped out.