Updated the 3 examples to libstreaming 4.0