if (log.isDebugEnabled()) log.debug("started publishing stream in scope=[" + scope.getName() + "] path=[" + scope.getPath() + "]");
audioBroadcastStream = new AudioBroadcastStream(listenStreamName);
audioBroadcastStream.setPublishedName(listenStreamName);
audioBroadcastStream.setScope(scope);
IContext context = scope.getContext();
IProviderService providerService = (IProviderService) context.getBean(IProviderService.BEAN_NAME);
if (providerService.registerBroadcastStream(scope, listenStreamName, audioBroadcastStream)){
// Do nothing. Successfully registered a live broadcast stream. (ralam Sept. 4, 2012)
} else{
log.error("could not register broadcast stream");
throw new RuntimeException("could not register broadcast stream");