initial hooks for real-time camera