yuv_frame.vmeta() returns empty object

yuv_frame.vmeta()[1] sometimes returns an empty object, while the yuv_frame itself is at least not None

Is that possible?

Any response?


This is possible for the very first frames when the streaming session just started.

It definitely also happens during a connection:

This topic was automatically closed after 30 days. New replies are no longer allowed.


Video metadata can sometimes be absent in a frame, as we can loose packets on a wireless connection.
So it should be handled in the code that the metadata object can sometimes be None even if a (partial) frame is available.

Ok, it’s not none, it’s an empty dict. But this is marginal. What does that mean to the accompanying video frame? Is this most likely garbage, should be discarded too?