io.antmedia.licence.CommunityLicenceService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ant-media-server Show documentation
Show all versions of ant-media-server Show documentation
Ant Media Server supports RTMP, RTSP, MP4, HLS, WebRTC, Adaptive Streaming, etc.
package io.antmedia.licence;
import io.antmedia.datastore.db.types.Licence;
import io.antmedia.settings.ServerSettings;
public class CommunityLicenceService implements ILicenceService{
public void start() {
//no need to implement for Community Edition
}
public Licence checkLicence (String key) {
//no need to implement for Community Edition
return null;
}
public void setServerSettings(ServerSettings serverSettings) {
//no need to implement for Community Edition
}
@Override
public Licence getLastLicenseStatus() {
//no need to implement for Community Edition
return null;
}
@Override
public boolean isLicenceSuspended() {
return false;
}
@Override
public String getLicenseType() {
return LICENCE_TYPE_COMMUNITY;
}
}