wrapped to AMD-module streamserver api