mirror of https://github.com/OpenVidu/openvidu.git
openvidu: change identifierPrefixe KMS_ID to MEDIA_ID
parent
a9e6e919a1
commit
57233393eb
|
@ -10,7 +10,7 @@ public interface IdentifierPrefixes {
|
||||||
public static final String SESSION_ID = "ses_";
|
public static final String SESSION_ID = "ses_";
|
||||||
public static final String TOKEN_ID = "tok_";
|
public static final String TOKEN_ID = "tok_";
|
||||||
public static final String IPCAM_ID = "ipc_";
|
public static final String IPCAM_ID = "ipc_";
|
||||||
public static final String KMS_ID = "kms_";
|
public static final String MEDIA_ID = "media_";
|
||||||
public static final String CLUSTER_ID = "clu_";
|
public static final String CLUSTER_ID = "clu_";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -323,7 +323,7 @@ public abstract class KmsManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String generateKmsId() {
|
public static String generateKmsId() {
|
||||||
return IdentifierPrefixes.KMS_ID + RandomStringUtils.randomAlphabetic(1).toUpperCase()
|
return IdentifierPrefixes.MEDIA_ID + RandomStringUtils.randomAlphabetic(1).toUpperCase()
|
||||||
+ RandomStringUtils.randomAlphanumeric(7);
|
+ RandomStringUtils.randomAlphanumeric(7);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue