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

io.antmedia.statistic.IStreamStats 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.statistic;

public interface IStreamStats {

	/**
	 * Register a new viewer to a stream
	 * @param streamId
	 * @param sessionId
	 */
	void registerNewViewer(String streamId, String sessionId, String subscriberId);
	
	
	/**
	 * Return the number of viewers of the stream
	 * @param streamId
	 * @return
	 */
	int getViewerCount(String streamId);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy