mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: replace IdentifierPrefixes.MEDIA_ID with MEDIA_NODE_ID
parent
6fec7f7cd3
commit
14b89da6f3
|
@ -10,8 +10,8 @@ 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 MEDIA_ID = "media_";
|
public static final String MEDIA_NODE_ID = "media_";
|
||||||
public static final String CLUSTER_ID = "clu_";
|
|
||||||
public static final String OPENVIDU_NODE_ID = "opv_";
|
public static final String OPENVIDU_NODE_ID = "opv_";
|
||||||
|
public static final String CLUSTER_ID = "clu_";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -360,7 +360,7 @@ public abstract class KmsManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String generateKmsId() {
|
public static String generateKmsId() {
|
||||||
return IdentifierPrefixes.MEDIA_ID + RandomStringUtils.randomAlphabetic(1).toUpperCase()
|
return IdentifierPrefixes.MEDIA_NODE_ID + RandomStringUtils.randomAlphabetic(1).toUpperCase()
|
||||||
+ RandomStringUtils.randomAlphanumeric(7);
|
+ RandomStringUtils.randomAlphanumeric(7);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue