updated to be compatible with latest streamhub-sdk version