Package com.castlabs.android.gstreamer
Class GStreamerPlugin
java.lang.Object
com.castlabs.android.Plugin
com.castlabs.android.gstreamer.GStreamerPlugin
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 Summary
ConstructorsConstructorDescriptionDefault constructor.GStreamerPlugin(String debugThreshold) Deprecated.GStreamerPlugin(String debugThreshold, byte[] hdcpRxBlob) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetId()voidsetDebugThreshold(String debugThreshold) Sets the GStreamer debug threshold.voidsetHdcpRxBlob(byte[] hdcpRxBlob) Sets the HDCP RX blob.voidsetRtpLatencyMs(long rtpLatencyMs) Sets the RTP latency (jitter buffer size).Methods inherited from class com.castlabs.android.Plugin
init, onRemotePlay
-
Constructor Details
-
GStreamerPlugin
public GStreamerPlugin()Default constructor. -
GStreamerPlugin
Deprecated.Constructor.- Parameters:
debugThreshold- The debug threshold to use.
-
GStreamerPlugin
Deprecated.Constructor.- Parameters:
debugThreshold- The debug threshold to use.hdcpRxBlob- The HDCP RX blob to use.
-
-
Method Details
-
setDebugThreshold
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
-
GStreamerPlugin()andsetDebugThreshold(String).