VideoTrackGenerator enqueues VideoFrame objects which have a timestamp.
As per existing WPT tests, timestamps are expected to be preserved when doing VideoTrackGenerator->MediaStreamTrackProcessor.
This would mean that a web application is free to enqueue video frames with non increasing timestamps, say 1, 2, 4 and then back to 1 and 3.
Another approach would be for VideoTrackGenerator to consider that timestamp of a frame is the time it gets enqueued.
VideoTrackGenerator enqueues VideoFrame objects which have a timestamp.
As per existing WPT tests, timestamps are expected to be preserved when doing VideoTrackGenerator->MediaStreamTrackProcessor.
This would mean that a web application is free to enqueue video frames with non increasing timestamps, say 1, 2, 4 and then back to 1 and 3.
Another approach would be for VideoTrackGenerator to consider that timestamp of a frame is the time it gets enqueued.