public interface StreamPlayerListener
| Modifier and Type | Method and Description |
|---|---|
void |
opened(java.lang.Object dataSource,
java.util.Map<java.lang.String,java.lang.Object> properties)
It is called when the StreamPlayer open(Object object) method is called.
|
void |
progress(int nEncodedBytes,
long microsecondPosition,
byte[] pcmData,
java.util.Map<java.lang.String,java.lang.Object> properties)
Is called several times per second when StreamPlayer run method is
running.
|
void |
statusUpdated(StreamPlayerEvent event)
Is called every time the status of the StreamPlayer changes.
|
void opened(java.lang.Object dataSource,
java.util.Map<java.lang.String,java.lang.Object> properties)
dataSource - the data sourceproperties - the propertiesvoid progress(int nEncodedBytes,
long microsecondPosition,
byte[] pcmData,
java.util.Map<java.lang.String,java.lang.Object> properties)
nEncodedBytes - the n encoded bytesmicrosecondPosition - the microsecond positionpcmData - the pcm dataproperties - the propertiesvoid statusUpdated(StreamPlayerEvent event)
event - the eventCopyright © 2019. All rights reserved.