Class OnKeySoftLimitEvent

  • All Implemented Interfaces:
    Event

    public class OnKeySoftLimitEvent
    extends MediaEvent
    Fired when encryption is used and any stream reached the soft key usage limit, which means it will expire soon.
    • Constructor Detail

      • OnKeySoftLimitEvent

        public OnKeySoftLimitEvent​(MediaObject source,
                                   String timestampMillis,
                                   List<Tag> tags,
                                   String type,
                                   MediaType mediaType)
        Fired when encryption is used and any stream reached the soft key usage limit, which means it will expire soon.
        Parameters:
        source - Object that raised the event
        timestampMillis - The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
        tags -
        type - Type of event that was raised
        mediaType - The media stream
    • Method Detail

      • getMediaType

        public MediaType getMediaType()
        Getter for the mediaType property
        Returns:
        The media stream *
      • setMediaType

        public void setMediaType​(MediaType mediaType)
        Setter for the mediaType property
        Parameters:
        mediaType - The media stream