Class AmlPlugin
java.lang.Object
com.castlabs.android.Plugin
com.castlabs.android.exoplayer2.ext.amlnativeplayer.AmlPlugin
-
Constructor Summary
ConstructorsConstructorDescriptionAmlPlugin
(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
Methods inherited from class com.castlabs.android.Plugin
init, onRemotePlay
-
Constructor Details
-
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
-
-
Method Details