[Refactoring] Merge all video sniffing attempts into a repeat loop