Updated api in stream example
Master playlists are now written to disk before playlist session should be available.