handling AttributeError error when rtmp url is not found