All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.antmedia.social.endpoint.FakeEndpoint Maven / Gradle / Ivy

Go to download

Ant Media Server supports RTMP, RTSP, MP4, HLS, WebRTC, Adaptive Streaming, etc.

There is a newer version: 2.11.3
Show newest version
package io.antmedia.social.endpoint;

import io.antmedia.datastore.db.types.Endpoint;
import io.antmedia.datastore.preference.PreferenceStore;

public class FakeEndpoint extends VideoServiceEndpoint {

	public FakeEndpoint(String clientId, String clientSecret, PreferenceStore dataStore) {
		super(clientId, clientSecret, dataStore);
	}

	@Override
	public void init(String accessToken, String refreshToken, long expireTime, String tokenType,
			long authtimeInMilliSeconds) {
	}

	@Override
	public String getName() {
		return "fake";
	}

	@Override
	public DeviceAuthParameters askDeviceAuthParameters() throws Exception {
		return null;
	}

	@Override
	public boolean askIfDeviceAuthenticated() throws Exception {
		return false;
	}

	@Override
	public boolean isAuthenticated() {
		return false;
	}

	@Override
	public Endpoint createBroadcast(String name, String description, boolean is360, boolean isPublic, int videoHeight)
			throws Exception {
		return null;
	}

	@Override
	public void publishBroadcast(Endpoint endpoint) throws Exception {

	}

	@Override
	public void stopBroadcast(Endpoint endpoint) throws Exception {

	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy