I know the ways to use AVQueuePlayer and AVPlayerLooper,
and use NotificationCenter.default.addObserver(..., name: .AVPlayerItemDidPlayToEndTime, ...).
But I feel little gap when video returns first frame.
I need the same situation for audio player setted AVAudioPlayer.numberOfLoops = -1.
Is there good way to play video seamlessly?