What is the right way to use the frameReady event handler?

I am having troubles understanding how I can reliably react on frameReady events.

As I pointed out in this thread

I could not make it work on Android, while the same code works flawlessly on iOS.

And now I am facing another problem in the editor under macOS: Sometimes the frameReady event gets fired, sometimes not. If it does not fire, somes I can get it working again if I restart Unity. Sometimes, even this won’t help.

Is there any code samples out there that show the right sequence of setting up the handler and triggering it? All samples I found so far did not work reliably enough.

?

Looks like a spambot. I’ve deleted the post.