Fixed NPE in VideoCastManager:1065. Only Log media if not null.