check difference between stream.url and the url generated locally