received a local videostream and global template