Class AmlPlugin
- java.lang.Object
-
- com.castlabs.android.Plugin
-
- com.castlabs.android.exoplayer2.ext.amlnativeplayer.AmlPlugin
-
public class AmlPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description AmlPlugin(boolean doesVideoUseSharedMemory, boolean doesAudioUseSharedMemory, int videoSharedMemorySizeInBytes, int audioSharedMemorySizeInBytes)
Create a new instance of this plugin using the default RTP Queue Size.AmlPlugin(boolean doesVideoUseSharedMemory, boolean doesAudioUseSharedMemory, int videoSharedMemorySizeInBytes, int audioSharedMemorySizeInBytes, int rtpQueueSizeInPackets)
Create a new instance of this plugin using the default configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
-
Methods inherited from class com.castlabs.android.Plugin
init, onRemotePlay
-
-
-
-
Constructor Detail
-
AmlPlugin
public AmlPlugin(boolean doesVideoUseSharedMemory, boolean doesAudioUseSharedMemory, int videoSharedMemorySizeInBytes, int audioSharedMemorySizeInBytes)
Create a new instance of this plugin using the default RTP Queue Size.- Parameters:
doesVideoUseSharedMemory
- Whether Video in Plugin Uses Shared MemorydoesAudioUseSharedMemory
- Whether Audio in Plugin Uses Shared MemoryvideoSharedMemorySizeInBytes
- Size of Video Shared Memory to be allocated in BytesaudioSharedMemorySizeInBytes
- Size of Audio Shared Memory to be allocated in Bytes
-
AmlPlugin
public AmlPlugin(boolean doesVideoUseSharedMemory, boolean doesAudioUseSharedMemory, int videoSharedMemorySizeInBytes, int audioSharedMemorySizeInBytes, int rtpQueueSizeInPackets)
Create a new instance of this plugin using the default configuration.- Parameters:
doesVideoUseSharedMemory
- Whether Video in Plugin Uses Shared MemorydoesAudioUseSharedMemory
- Whether Audio in Plugin Uses Shared MemoryvideoSharedMemorySizeInBytes
- Size of Video Shared Memory to be allocated in BytesaudioSharedMemorySizeInBytes
- Size of Audio Shared Memory to be allocated in BytesrtpQueueSizeInPackets
- Size of RTP Data Queue in Number of Packets
-
-