Class GStreamerPlugin

java.lang.Object
com.castlabs.android.Plugin
com.castlabs.android.gstreamer.GStreamerPlugin

public class GStreamerPlugin extends Plugin
GStreamerPlugin is a plugin that provides GStreamer based playback.

The settings are applied when the plugin is registered, so the setters must be called before that.

  • Constructor Details

  • Method Details

    • setDebugThreshold

      public void setDebugThreshold(@Nullable String debugThreshold)
      Sets the GStreamer debug threshold.
      Parameters:
      debugThreshold - The debug threshold, or null for the default.
    • setHdcpRxBlob

      public void setHdcpRxBlob(@Nullable byte[] hdcpRxBlob)
      Sets the HDCP RX blob.
      Parameters:
      hdcpRxBlob - The HDCP RX blob, or null for none.
    • setRtpLatencyMs

      public void setRtpLatencyMs(long rtpLatencyMs)
      Sets the RTP latency (jitter buffer size).
      Parameters:
      rtpLatencyMs - The RTP latency in milliseconds, or C.TIME_UNSET for the default.
    • getId

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