mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: removed "sendMediaNodeAddedEvent" parameter
parent
cc0479deb3
commit
d1aa03354e
|
@ -32,8 +32,7 @@ import io.openvidu.server.core.IdentifierPrefixes;
|
|||
public class FixedOneKmsManager extends KmsManager {
|
||||
|
||||
@Override
|
||||
public List<Kms> initializeKurentoClients(List<KmsProperties> kmsProperties, boolean disconnectUponFailure,
|
||||
boolean sendMediaNodeAddedEvent) throws Exception {
|
||||
public List<Kms> initializeKurentoClients(List<KmsProperties> kmsProperties, boolean disconnectUponFailure) throws Exception {
|
||||
KmsProperties firstProps = kmsProperties.get(0);
|
||||
KurentoClient kClient = null;
|
||||
Kms kms = new Kms(firstProps, loadManager);
|
||||
|
@ -66,7 +65,7 @@ public class FixedOneKmsManager extends KmsManager {
|
|||
+ RandomStringUtils.randomAlphanumeric(7);
|
||||
kmsProps.add(new KmsProperties(kmsId, kmsUri));
|
||||
}
|
||||
this.initializeKurentoClients(kmsProps, true, false);
|
||||
this.initializeKurentoClients(kmsProps, true);
|
||||
} catch (Exception e) {
|
||||
// Some KMS wasn't reachable
|
||||
log.error("Shutting down OpenVidu Server");
|
||||
|
|
|
@ -291,8 +291,8 @@ public abstract class KmsManager {
|
|||
};
|
||||
}
|
||||
|
||||
public abstract List<Kms> initializeKurentoClients(List<KmsProperties> kmsProperties, boolean disconnectUponFailure,
|
||||
boolean sendMediaNodeAddedEvent) throws Exception;
|
||||
public abstract List<Kms> initializeKurentoClients(List<KmsProperties> kmsProperties, boolean disconnectUponFailure)
|
||||
throws Exception;
|
||||
|
||||
public LoadManager getLoadManager() {
|
||||
return this.loadManager;
|
||||
|
|
|
@ -58,7 +58,7 @@ public class IntegrationTestConfiguration {
|
|||
successfullyConnectedKmss.add(kms);
|
||||
}
|
||||
return successfullyConnectedKmss;
|
||||
}).when(spy).initializeKurentoClients(any(List.class), any(Boolean.class), any(Boolean.class));
|
||||
}).when(spy).initializeKurentoClients(any(List.class), any(Boolean.class));
|
||||
return spy;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue