stream detection
xml config and scenario action