Package io.antmedia.analytic.model
Class PlayEvent
java.lang.Object
io.antmedia.analytic.model.AnalyticEvent
io.antmedia.analytic.model.PlayEvent
- Direct Known Subclasses:
WatchTimeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
static final String
playEnded is generated both ton the server side and client side For the client side, it's received when play is ended.static final String
playPaused event is received from the playerstatic final String
playStarted is generated both on the server side and client side For the client side, when user paused and plays the video, it's triggered.static final String
playStartedFirstTime is received from the player.private String
private String
Fields inherited from class io.antmedia.analytic.model.AnalyticEvent
LOG_SOURCE_CLIENT, LOG_SOURCE_SERVER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setClientIP
(String clientIP) void
setProtocol
(String protocol) void
setSubscriberId
(String subscriberId) Methods inherited from class io.antmedia.analytic.model.AnalyticEvent
getApp, getEvent, getLogSource, getStreamId, getTimeMs, getToken, setApp, setEvent, setLogSource, setStreamId, setTimeMs, setToken
-
Field Details
-
EVENT_PLAY_STARTED
playStarted is generated both on the server side and client side For the client side, when user paused and plays the video, it's triggered. It's both WebRTC, HLS and VoD- See Also:
-
EVENT_PLAY_ENDED
playEnded is generated both ton the server side and client side For the client side, it's received when play is ended. It's both WebRTC, HLS and VoD- See Also:
-
EVENT_PLAY_PAUSED
playPaused event is received from the player- See Also:
-
EVENT_PLAY_STARTED_FIRST_TIME
playStartedFirstTime is received from the player. It's the first event when the user starts playing. It's usefull to count total number of unique views.- See Also:
-
protocol
-
clientIP
-
subscriberId
-
-
Constructor Details
-
PlayEvent
public PlayEvent()
-
-
Method Details
-
getProtocol
-
setProtocol
-
getSubscriberId
-
setSubscriberId
-
getClientIP
-
setClientIP
-