}
public synchronized void init() {
this.mediaSubscribeManager = SubscribeManagerFactory.getSubscribeManager(SubscribeType.MEDIA);
if (this.mediaSubscribeManager == null) {
throw new PushException("MediaDatasourceSupplier : mediaSubscribeManager is null, check the spring config");
}
String matrixStr = mediaSubscribeManager.fetchConfig(groupKey);
this.haInfo = parse(matrixStr);
this.mediaSubscribeManager.registerCallback(this.groupKey, subscribeCallback);