Use Canvas generate a video and OCR video time https://antmedia.io/docs/guides/configuration-and-testing/measure-end-to-end-latency/