Package com.castlabs.android.exoplayer2.ext.amlnativeplayer

# Class IPTVPlugin

java.lang.Object
com.castlabs.android.Plugin
com.castlabs.android.exoplayer2.ext.amlnativeplayer.IPTVPlugin

public class IPTVPlugin extends Plugin
Plugin for IPTV playback.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IPTVPlugin()`
  Creates a new IPTVPlugin instance with default values.
  `IPTVPlugin(boolean playsClearWithExo, boolean ignorDataTillVideoKeyframe, int rtpQueueSizeInPackets, long discontinuityThreshold)`
  Creates a new IPTVPlugin instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getId()`

  ### Methods inherited from class com.castlabs.android.Plugin

  `init, onRemotePlay`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### IPTVPlugin

    public IPTVPlugin(boolean playsClearWithExo, boolean ignorDataTillVideoKeyframe, int rtpQueueSizeInPackets, long discontinuityThreshold)
    Creates a new IPTVPlugin instance.
    Parameters:
      `playsClearWithExo` - Whether to play clear content with ExoPlayer.
      `ignorDataTillVideoKeyframe` - Whether to ignore data until a video keyframe is received.
      `rtpQueueSizeInPackets` - The size of the RTP queue in number of packets.
      `discontinuityThreshold` - The threshold for detecting discontinuities in milliseconds.

  - ### IPTVPlugin

    public IPTVPlugin()
    Creates a new IPTVPlugin instance with default values.

- ## Method Details

  - ### getId

    @NonNull public String getId()
    Specified by:
      `getId` in class `Plugin`