Class PlayEvent

java.lang.Object
io.antmedia.analytic.model.AnalyticEvent
io.antmedia.analytic.model.PlayEvent
Direct Known Subclasses:
WatchTimeEvent

public class PlayEvent extends AnalyticEvent
  • Field Details

    • EVENT_PLAY_STARTED

      public static final String 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

      public static final String 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

      public static final String EVENT_PLAY_PAUSED
      playPaused event is received from the player
      See Also:
    • EVENT_PLAY_STARTED_FIRST_TIME

      public static final String 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

      private String protocol
    • clientIP

      private String clientIP
    • subscriberId

      private String subscriberId
  • Constructor Details

    • PlayEvent

      public PlayEvent()
  • Method Details

    • getProtocol

      public String getProtocol()
    • setProtocol

      public void setProtocol(String protocol)
    • getSubscriberId

      public String getSubscriberId()
    • setSubscriberId

      public void setSubscriberId(String subscriberId)
    • getClientIP

      public String getClientIP()
    • setClientIP

      public void setClientIP(String clientIP)