allow to enable debug logging dynamically
fixed local video aspect ratio