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

org.kurento.client.GenericMediaElement Maven / Gradle / Ivy

Go to download

Kurento Client The Kurento Client project allows server applications to control media server resources.

There is a newer version: 7.1.0
Show newest version
package org.kurento.client;

import org.kurento.jsonrpc.Props;

public interface GenericMediaElement extends MediaElement {

	public class Builder extends AbstractBuilder {

		public Builder(org.kurento.client.MediaPipeline mediaPipeline, String mediaElementClassName) {
			super(GenericMediaElement.class, mediaPipeline);
			props.add("mediaPipeline", mediaPipeline);
			props.add("mediaElementClassName", mediaElementClassName);
		}

		public Builder withConstructorParam(String name, Object value) {
			props.add(name, value);
			return this;
		}

		public Builder withProperties(Properties properties) {
			return (Builder) super.withProperties(properties);
		}

		public Builder with(String name, Object value) {
			return (Builder) super.with(name, value);
		}
	}

	public Object invoke(String method, Props params);

	public ListenerSubscription addEventListener(String type, EventListener listener);

	public void removeEventListener(ListenerSubscription listener);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy