functionality for debug mode - using an image instead of livee video